public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* i386 Linux on USB pen drive
@ 2004-09-24 18:10 Arik Funke
  2004-09-24 19:22 ` Charles Manning
  0 siblings, 1 reply; 3+ messages in thread
From: Arik Funke @ 2004-09-24 18:10 UTC (permalink / raw)
  To: linux-mtd

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello together,

I am setting up a linux system to run on a USB memory stick. Currently I
am using kernel 2.6.7 and ext3 as filesystem. Can anybody tell me if
wear-leveling will be a problem with this system? Or should I rather use
a fs like jffs or jffs2? Is kernel 2.6.x ok?

Thanks a lot,
Arik

BTW: Could anybody please point me in the right direction if this is
off-topic in this mailing-list.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBVGMz//PXyz2NiW8RAjNnAJ9LYX/d6el5u8GPO0d9INkydXtIBwCeOWLB
twVX7fvZ5nNg9K03EN5JbIk=
=iJgT
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: i386 Linux on USB pen drive
  2004-09-24 18:10 i386 Linux on USB pen drive Arik Funke
@ 2004-09-24 19:22 ` Charles Manning
  2004-09-24 23:21   ` Arik Funke
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Manning @ 2004-09-24 19:22 UTC (permalink / raw)
  To: Arik Funke, linux-mtd

On Saturday 25 September 2004 06:10, Arik Funke wrote:
> Hello together,
>
> I am setting up a linux system to run on a USB memory stick. Currently I
> am using kernel 2.6.7 and ext3 as filesystem. Can anybody tell me if
> wear-leveling will be a problem with this system? Or should I rather use
> a fs like jffs or jffs2? Is kernel 2.6.x ok?

This is very much like those threads one reads occasionally about Compact 
Flash.

All we really know about these devices is that they conform to USB mass 
storage. We don't really know what goes on inside them, but we can make some 
educated guesses :-).

Most likely, IMHO, these devices will be using a block swapping strategy like 
that used in SmartMedia. This does not do explicite wear levelling, but the 
block management does effect wear levelling.

The biggest source of problems with these devices, IMHO, is FAT corruption. I 
see you've taken steps too get rid of that. 

The flash file systems like JFFSx and YAFFS are really suited to raw flash 
(SmartMedia and XD cards and soldered down chips) , not USB Mass storage 
devices (which look like hard disks). Dave might not share my opinion on this.

-- CHarles

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: i386 Linux on USB pen drive
  2004-09-24 19:22 ` Charles Manning
@ 2004-09-24 23:21   ` Arik Funke
  0 siblings, 0 replies; 3+ messages in thread
From: Arik Funke @ 2004-09-24 23:21 UTC (permalink / raw)
  To: linux-mtd

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Charles Manning wrote:
| Most likely, IMHO, these devices will be using a block swapping
strategy like
| that used in SmartMedia. This does not do explicite wear levelling,
but the
| block management does effect wear levelling.
|
| The biggest source of problems with these devices, IMHO, is FAT
corruption. I
| see you've taken steps too get rid of that.
|
| The flash file systems like JFFSx and YAFFS are really suited to raw
flash
| (SmartMedia and XD cards and soldered down chips) , not USB Mass storage
| devices (which look like hard disks). Dave might not share my opinion
on this.

If I understood you correctly I have done everything right without even
knowing about the possible technical traps? I do not need to worry about
dying sectors, etc. and ext3 was the right choice? Or should I chose a
journaling filesystem? (the system will run as minimal communication server)

As there seems to be extensibe knowledge here about linux on flash
devices, two other questions:
1. Is it correct to assume that systems on flash devices need to run
without swap partitions? (due to frequent writing on these)

2. Is there any easy advice which parts of the directory structure
should better not be mounted on the flash? Or in which directories in
the linux structure will typically occur frequent write accesses? (E.g.
log-files?)

Is there maybe a HOWTO or anything discussing linux on flash in general?
~ I guess these are fairly typical questions...

Cheers,
Arik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBVKv4//PXyz2NiW8RAiSEAJ0RVMiYdN9gJzrskwX/xputQYhabwCfePZQ
QvOQ2jkuDsqcs1z5hk9lk4o=
=3JNo
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-24 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-24 18:10 i386 Linux on USB pen drive Arik Funke
2004-09-24 19:22 ` Charles Manning
2004-09-24 23:21   ` Arik Funke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox