Paul Eggert wrote: > Andrew Klyachkin <[EMAIL PROTECTED]> writes: > > The following patch adds `-I' option to df. With this option df produces > > output similar to BSD's `df -i' - block usage and inode usage at once. > > A couple of dumb questions. What does BSD's df -i output look like? > And would it make sense simply to modify coreutils to match BSD's > behavior, particularly if the BSD behavior is more useful? > > (I presume that coreutils is mimicking BSD's old behavior here, and > BSD changed.)
df -i produces the following output on my FreeBSD boxes (FreeBSD 4.11, FreeBSD 5.x, I don't have earlier versions right now) $ df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1a 503966 81054 382596 17% 2325 61033 4% / devfs 1 1 0 100% 0 0 100% /dev /dev/da0s1f 14568394 9695040 3707884 72% 261883 1564419 14% /usr /dev/da0s1e 503966 32272 431378 7% 504 62854 1% /var I think BSD's behaviour is more useful for me :) but df is used in many scripts written by other people and if you change default behaviour of df, the scripts will fail. So I believe, it is more useful to add new option, instead of changing existing one. -- Sincerely yours, Andrew Klyachkin _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
