MAX_NAME in jffs2

David Woodhouse dwmw2 at infradead.org
Tue Jul 30 18:37:34 EDT 2002


der.herr at mail.hofr.at said:
> 
>  is there a particular reson for jffs and jffs2 to have a 254
> character filename limit and ext2/ext3/reiserfs 255 (probably others to -
> excluding minix/msdos/M$) ?? There probably is hardly a case where this
> will realy hurt, but a test bit it so I wondered what the reson for this
>  254 is... 

ISTR there may have been a reason in JFFS, but I can't remember it. JFFS2 
just inherited it -- one of the few things that hasn't actually changed. We 
want to keep file names relatively short because dirent nodes can't be 
split across eraseblock boundaries.


--
dwmw2






More information about the linux-mtd mailing list