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

Michael Tautschnig mt at debian.org
Wed Oct 13 00:36:06 CEST 2010


Hi Michael,

> 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. 

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20101012/4a2b7c55/attachment.bin 


More information about the linux-fai-devel mailing list