[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#68659: mke2fs(8) is inaccurate

Le 2000-08-13 13:27:38 +0200, Martin Schulze écrivait :
> > The filesystem image on the root disk (root.bin) shouldn't
> > use ext2 extensions that are incompatible with 2.0.x kernels.
> > 
> > The current image uses those extensions, making it impossible to
> > modify the filesystem with a slink system.
> Looking at the current code I see how it is created:
>         mke2fs -F -q -N $inodes -m 0 $floppy
> Nothing that looks 2.2 specific.  However there may be some implicit
> extensions if one creates an ext2 with current mke2fs and 2.2.x.

mke2fs defaults to 2.2 specific extension when used with a 2.2+ kernel,
unless told otherwise :

       -O feature[,...]
              Create  the  filesystem  with  the  listed  set  of
              features  (filesystem  options).    The   following
              features  are  supported: sparse_super, which cause
              the  filesystem  to  use  sparse  superblocks,  and
              filetype,  which will cause the filesystem to store
              file  type  information   in   directory   entries.
              Currently,  both  features are turned on by default
              unless mke2fs is run on a  system  with  a  pre-2.2
              Linux  kernel.   Warning:  Pre-2.2 Linux kernels do
              not  properly  support  the  filesystems  that  use
              either  of  these  two features.   Filesystems that
              may need to mounted on pre-2.2  kernels  should  be
              created  with  -O  none  which will disable both of
              these features, even if mke2fs is run on  a  system
              which can support these features.

Jean-Philippe Guérard

Reply to: