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
pgps0GJgUxkjt.pgp
Description: PGP signature