Re: ext2 on flash memory

2007-06-18 Thread DervishD
Hi Jörn :) * Jörn Engel <[EMAIL PROTECTED]> dixit: > On Fri, 15 June 2007 18:22:53 +0200, DervishD wrote: > > A pity that my digital camera won't want to use LogFS :(( > > That's quite ok, actually. FAT is perfect for digital cameras. All the > unix file permissions, different owners/g

Re: ext2 on flash memory

2007-06-15 Thread Jörn Engel
On Fri, 15 June 2007 18:16:44 +0200, DervishD wrote: > > Yes, I understand. That's worse than I thought. I was right now > thinking about "PortableApps", a set of free software applications that > are a little bit modified to work from a pendrive in Windows. Very > useful, because you can carr

Re: ext2 on flash memory

2007-06-15 Thread Jörn Engel
On Fri, 15 June 2007 18:20:01 +0200, DervishD wrote: > > > > Now seriously, I will take a look at LogFS from time to time, and if > > > you want me to, I can do tests on my Kingston DT. > > > > That would be appreciated. I am always happy about bug reports. The > > more you test the faster

Re: ext2 on flash memory

2007-06-15 Thread Jörn Engel
On Fri, 15 June 2007 18:22:53 +0200, DervishD wrote: > > A pity that my digital camera won't want to use LogFS :(( That's quite ok, actually. FAT is perfect for digital cameras. All the unix file permissions, different owners/groups, etc. just get in the way. And wearout is not a problem i

Re: ext2 on flash memory

2007-06-15 Thread DervishD
Hi Jörn :) * Jörn Engel <[EMAIL PROTECTED]> dixit: > On Fri, 15 June 2007 00:46:46 +0200, DervishD wrote: > > When do you think it will be included mainstream? > > I am horrible at predictions, doubly so when concerning the future. > > Several people believe it is good enough for -mm in

Re: ext2 on flash memory

2007-06-15 Thread DervishD
Hi Jörn :) * Jörn Engel <[EMAIL PROTECTED]> dixit: > On Thu, 14 June 2007 22:20:47 +0200, DervishD wrote: > > I'm with you in that. So stop emailing and go working on it XD > > :) No. Seriously. Go! XDD > > Now seriously, I will take a look at LogFS from time to time, and if >

Re: ext2 on flash memory

2007-06-15 Thread DervishD
Hi Jörn :) * Jörn Engel <[EMAIL PROTECTED]> dixit: > On Thu, 14 June 2007 22:17:14 +0200, DervishD wrote: > > * Jörn Engel <[EMAIL PROTECTED]> dixit: > > > 2. Wear leveling > > > > > > Wear leveling happens implicitly by picking a different physical block > > > from the spares on each write

Re: ext2 on flash memory

2007-06-15 Thread Jörn Engel
On Fri, 15 June 2007 00:46:46 +0200, DervishD wrote: > > When do you think it will be included mainstream? I am horrible at predictions, doubly so when concerning the future. Several people believe it is good enough for -mm inclusion now. So it might make it for 2.6.23 or 2.6.24. Jörn --

Re: ext2 on flash memory

2007-06-14 Thread DervishD
Hi Jörn :) * Jörn Engel <[EMAIL PROTECTED]> dixit: > On Thu, 14 June 2007 19:19:53 +0200, Tomasz Chmielewski wrote: > > Cool, does it mean we have the first Linux filesystem supporting > > compression, which can be used on USB-sticks (I don't count old > > ext2+compression patches)? :) > >

Re: ext2 on flash memory

2007-06-14 Thread Tomasz Chmielewski
Jan Knutar wrote: On Wednesday 13 June 2007 16:48, DervishD wrote: But anyway the memory should last long. Even cheap flash memories with poor wear leveling (if any at all) usually long last. Given that I won't be writing continuously, wear shouldn't be a problem. I'm going to use this as a

Re: ext2 on flash memory

2007-06-14 Thread Jörn Engel
On Thu, 14 June 2007 22:20:47 +0200, DervishD wrote: > > I'm with you in that. So stop emailing and go working on it XD :) > Now seriously, I will take a look at LogFS from time to time, and if > you want me to, I can do tests on my Kingston DT. That would be appreciated. I am always h

Re: ext2 on flash memory

2007-06-14 Thread Jörn Engel
On Thu, 14 June 2007 22:17:14 +0200, DervishD wrote: > * Jörn Engel <[EMAIL PROTECTED]> dixit: > > So let us look at the problems and how they interact with filesystems. > > > > 1. Write overhead > > > > If a filesystem only writes a small amount of data, typically 512 or > > 4096 bytes, smartme

Re: ext2 on flash memory

2007-06-14 Thread DervishD
Hi Jörn :) * Jörn Engel <[EMAIL PROTECTED]> dixit: > Any method I can imagine to offer good wear leveling will result in > either a filesystem or at least a simplified one-file-system with the > only file being the "block device" exported outward. So naturally my > answer to the problem is c

Re: ext2 on flash memory

2007-06-14 Thread DervishD
Hi Jörn :) * Jörn Engel <[EMAIL PROTECTED]> dixit: > So let us look at the problems and how they interact with filesystems. > > 1. Write overhead > > If a filesystem only writes a small amount of data, typically 512 or > 4096 bytes, smartmedia has to erase and write a full block. Most > fl

Re: ext2 on flash memory

2007-06-14 Thread DervishD
Hi Jan :) * Jan Knutar <[EMAIL PROTECTED]> dixit: > On Wednesday 13 June 2007 16:48, DervishD wrote: > > But anyway the memory should last long. Even cheap flash memories > > with poor wear leveling (if any at all) usually long last. Given > > that I won't be writing continuously, wear should

Re: ext2 on flash memory

2007-06-14 Thread Jan Knutar
On Wednesday 13 June 2007 16:48, DervishD wrote: > But anyway the memory should last long. Even cheap flash memories > with poor wear leveling (if any at all) usually long last. Given that > I won't be writing continuously, wear shouldn't be a problem. I'm > going to use this as a backup copy o

Re: ext2 on flash memory

2007-06-14 Thread Jörn Engel
On Thu, 14 June 2007 19:45:10 +0200, Jörn Engel wrote: > > Nearly two years ago I have spoken to a person that reverse engineered > the behaviour of several chips used in pendrives. At the time that > reverse engineering apparently covered most of the market. The details > were quite lengthy but

Re: ext2 on flash memory

2007-06-14 Thread Jörn Engel
On Thu, 14 June 2007 19:19:53 +0200, Tomasz Chmielewski wrote: > > Cool, does it mean we have the first Linux filesystem supporting > compression, which can be used on USB-sticks (I don't count old > ext2+compression patches)? :) Indeed it does. Jörn -- Anything that can go wrong, will. -- F

Re: ext2 on flash memory

2007-06-14 Thread Jörn Engel
On Mon, 11 June 2007 12:13:19 +0200, DervishD wrote: > > I was wondering: is there any reason not to use ext2 on an USB > pendrive? Really my question is not only about USB pendrives, but any > device whose storage is flash based. Let's assume that the device has a > good quality flash memory

Re: ext2 on flash memory

2007-06-14 Thread Tomasz Chmielewski
Jörn Engel schrieb: On Mon, 11 June 2007 13:53:00 +0200, Tomasz Chmielewski wrote: jffs2 only works on mtd devices, and that excludes pendrives, which are block devices. I know LogFS will work with block devices one day, but currently, it doesn't (and is not in the kernel yet as well). Actual

Re: ext2 on flash memory

2007-06-14 Thread Jörn Engel
On Mon, 11 June 2007 13:53:00 +0200, Tomasz Chmielewski wrote: > > jffs2 only works on mtd devices, and that excludes pendrives, which are > block devices. I know LogFS will work with block devices one day, but > currently, it doesn't (and is not in the kernel yet as well). Actually, LogFS does

Re: ext2 on flash memory

2007-06-14 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* Juergen Beisert wrote: So it makes no sense to find the best filesystem for such a case. There is no best one. It does make sense. Wear leveling isn't the only thing that matters. An important criteria is the total amount

Re: ext2 on flash memory

2007-06-14 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* Juergen Beisert wrote: So it makes no sense to find the best filesystem for such a case. There is no best one. It does make sense. Wear leveling isn't the only thing that matters. An important criteria is the total amoun

Re: ext2 on flash memory

2007-06-13 Thread Ph. Marek
On Donnerstag, 14. Juni 2007, DervishD wrote: > Your message is very peculiar... because I already have a similar > thing working on my system ;))) I tried FSVS and I didn't like it fully > (don't ask me why, I don't even remember, that was a time ago), so I > wrote my own system. Well, if you

Re: ext2 on flash memory

2007-06-13 Thread DervishD
Hi Philipp :)) * Ph. Marek <[EMAIL PROTECTED]> dixit: > > I was just wondering if, apart from the excessive wear, there were > > other reasons. One of the reasons I would like to use a good filesystem > > for a pendrive is to be able to store file metadata (UID, GID, mode, > > etc.) prope

Re: ext2 on flash memory

2007-06-13 Thread Ph. Marek
(Sorry for this hand-crafted message. I'm not subscribed, lkml.org is down, so I have to manually add the Reply-To header.) > I was just wondering if, apart from the excessive wear, there were > other reasons. One of the reasons I would like to use a good filesystem > for a pendrive is to be

Re: ext2 on flash memory

2007-06-13 Thread DervishD
* Juergen Beisert <[EMAIL PROTECTED]> dixit: > On Monday 11 June 2007 19:42, DervishD wrote: > > I know about cheap pendrives that you cannot format even with FAT32, only > > with FAT16. > > I'm not sure if the price was the reason that they failed with different > filesystems. Some kind of wear

Re: ext2 on flash memory

2007-06-13 Thread DervishD
Hi Kevin :) > >I was wondering: is there any reason not to use ext2 on an USB > >pendrive? Really my question is not only about USB pendrives, but any > >device whose storage is flash based. Let's assume that the device > >has a > >good quality flash memory with wear leveling and the lik

Re: ext2 on flash memory

2007-06-13 Thread DervishD
Hi Bernd :) * Bernd Eckenfels <[EMAIL PROTECTED]> dixit: > In article <[EMAIL PROTECTED]> you wrote: > > All of the posts fail to address the question here: what is the > > correct file system, or does one exist yet, for wear leveling flash > > storage. JFFS2 and logfs are nice for MTD, but

Re: ext2 on flash memory

2007-06-12 Thread Juergen Beisert
On Tuesday 12 June 2007 23:09, Jason Lunz wrote: > In gmane.linux.kernel, you wrote: > > I was wondering: is there any reason not to use ext2 on an USB > > pendrive? Really my question is not only about USB pendrives, but any > > device whose storage is flash based. Let's assume that the device

Re: ext2 on flash memory

2007-06-12 Thread Jason Lunz
In gmane.linux.kernel, you wrote: > I was wondering: is there any reason not to use ext2 on an USB > pendrive? Really my question is not only about USB pendrives, but any > device whose storage is flash based. Let's assume that the device has a > good quality flash memory with wear leveling and

Re: ext2 on flash memory

2007-06-12 Thread Juergen Beisert
On Tuesday 12 June 2007 02:35, Kevin Bowling wrote: > All of the posts fail to address the question here: what is the > correct file system, or does one exist yet, for wear leveling flash > storage. > JFFS2 and logfs are nice for MTD, but for better flash > memories that are likely to be used in t

Re: ext2 on flash memory

2007-06-11 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > All of the posts fail to address the question here: what is the > correct file system, or does one exist yet, for wear leveling flash > storage. JFFS2 and logfs are nice for MTD, but for better flash > memories that are likely to be used in the future li

Re: ext2 on flash memory

2007-06-11 Thread Kevin Bowling
On 6/11/07, Kevin K <[EMAIL PROTECTED]> wrote: On Jun 11, 2007, at 5:13 AM, DervishD wrote: > Hi all :) > > I was wondering: is there any reason not to use ext2 on an USB > pendrive? Really my question is not only about USB pendrives, but any > device whose storage is flash based. Let's

Re: ext2 on flash memory

2007-06-11 Thread Arnd Bergmann
On Monday 11 June 2007, Tomasz Chmielewski wrote: > Also, ext2 provides a nice feature other filesystems lack: xip. > Especially, if a pendrive is used as a rootfs for a small device. Well, xip cannot work on NAND flash media, including USB pen drives, because the data is not mapped into the addr

Re: ext2 on flash memory

2007-06-11 Thread Kevin K
On Jun 11, 2007, at 5:13 AM, DervishD wrote: Hi all :) I was wondering: is there any reason not to use ext2 on an USB pendrive? Really my question is not only about USB pendrives, but any device whose storage is flash based. Let's assume that the device has a good quality flash memo

Re: ext2 on flash memory

2007-06-11 Thread Juergen Beisert
On Monday 11 June 2007 19:42, DervishD wrote: > I just was curious about the issue and I was asking to know if > anybody had tried this. Think about compact flash devices. They also using some kind of flash memory and also doing wear leveling. And I think they are not only used with FAT16/32

Re: ext2 on flash memory

2007-06-11 Thread DervishD
Hi Alan :) * alan <[EMAIL PROTECTED]> dixit: > On Mon, 11 Jun 2007, DervishD wrote: > > I was wondering: is there any reason not to use ext2 on an USB > >pendrive? Really my question is not only about USB pendrives, but any > >device whose storage is flash based. Let's assume that the devic

Re: ext2 on flash memory

2007-06-11 Thread DervishD
Hi Eduard :) * Eduard-Gabriel Munteanu <[EMAIL PROTECTED]> dixit: > >I was wondering: is there any reason not to use ext2 on an USB > >pendrive? Really my question is not only about USB pendrives, but any > >device whose storage is flash based. Let's assume that the device has > >a good q

Re: ext2 on flash memory

2007-06-11 Thread alan
On Mon, 11 Jun 2007, DervishD wrote: Hi all :) I was wondering: is there any reason not to use ext2 on an USB pendrive? Really my question is not only about USB pendrives, but any device whose storage is flash based. Let's assume that the device has a good quality flash memory with wear l

Re: ext2 on flash memory

2007-06-11 Thread Tomasz Chmielewski
Eduard-Gabriel Munteanu wrote: (...) Your USB pendrive will wear faster if you use an inappropriate filesystem. Such filesystems require frequent writes and change their internal state often. This could be alleviated by COWing the filesystem somehow and flushing writes when you're finished.

Re: ext2 on flash memory

2007-06-11 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* DervishD wrote: *This message was transferred with a trial version of CommuniGate(r) Pro* *This message was transferred with a trial version of CommuniGate(r) Pro* Hi all :) I was wondering: is there any reason not

ext2 on flash memory

2007-06-11 Thread DervishD
Hi all :) I was wondering: is there any reason not to use ext2 on an USB pendrive? Really my question is not only about USB pendrives, but any device whose storage is flash based. Let's assume that the device has a good quality flash memory with wear leveling and the like... Thanks a