Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!bu.edu!bu-cs!snorkelwacker!think!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!rice!sun-spots-request From: darrell@midgard.ucsc.edu (Darrell Long) Newsgroups: comp.sys.sun Subject: /bin/df considered harmful. Keywords: SunOS Message-ID: <4645@brazos.Rice.edu> Date: 1 Feb 90 21:33:16 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 10 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 22, message 3 of 16 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