[comp.sys.sun] /bin/df considered harmful.

darrell@midgard.ucsc.edu (Darrell Long) (02/02/90)

A word of warning: /bin/df is capable of crashing SunOS.  Suppose
/dev/sd0b is your swap partition.  "df /dev/sd0b" will cause a crash.
Interestingly some processes will continue to run, such a the clock or a
perfmeter.  I think that what is happening is that the swap area is
getting corrupted and these processes are memory resident.

Of course, df is kind enough to tell you that /dev/sd0b isn't a UNIX file
system, but then it goes on to trash it anyway.

Regards, DL