fai and make-fai-nfsroot: df -P option

Michael Prokop mika at grml.org
Thu Oct 14 17:03:27 CEST 2010


* Michael Tautschnig <mt at debian.org> [Tue Oct 12, 2010 at 11:36:06PM +0100]:

> > Here below are the corrections of "df" usage in fai and make-fai-nfsroot.
> > According to information from "info coreutils" if we used "df" without
> > portability option (-P) and the mount device name was more than 20
> > characters long then the mount device name is put on a line by itself.
> > And this breaks the logic of the part of the fai scripts which "check
> > if target directory is mounted with bad options".

> > debian:~# info coreutils 'df invocation'
> > `-P'
> > `--portability'
> >   Use the POSIX output format.  This is like the default format except
> > for the following:

> >     1. The information about each file system is always printed on
> > exactly one line; a mount device is never put on a line by itself.
> > This means that if the mount evice name is more than 20 characters
> > long (e.g., for some network mounts), the columns are misaligned.
> >     2. ...

> Thank you very much for both the detailed problem description and the patch. I
> have added this patch to our experimental builds, it's included in
> 4.0~beta2+experimental28. 

Michael, can you please merge this patch to trunk so I can queue it
up for inclusion in 3.4.4?

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20101014/03630283/attachment.bin 


More information about the linux-fai-devel mailing list