http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2004-07/0442.html
This is what's happening to me: ================== In the last episode (Jul 06), Richard Bradley said: > On Tuesday 06 July 2004 2:36 am, you wrote: > > In the last episode (Jul 06), Richard Bradley said: > > > I recently tried to add a user to my FreeBSD box, but was amazed > > > to find that the / partition was full! I had a look, and the > > > culprit is the "/rescue" folder, holding 135 statically linked > > > binaries of nearly 4Mb each, giving a folder size of 491Mb! > > > > Check the inode number of each file in /rescue (ls -li /rescue). > > You'll notice they're all the same, which means they're all > > hardlinks to the same file. "du /rescue" should report under 4MB. > > > > Your space is probably being taken up somewhere else. > > That's very strange if true, because since deleting the "/rescue" > folder, the used space on / has gone from 550Mb+ to 129Mb. I can't > check the inodes now, as I have `rm`ed them all! If at some point you had copied /rescue with cp (instead of a tar pipe or something else that preserves hardlinks), you would have gotten a separate file for each link. ================== my ls looks like this: ls -li /rescue total 427594 26 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 [ 64 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 atacontrol 65 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 atm 66 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 atmconfig 67 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 badsect 68 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 bsdlabel 69 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 bunzip2 70 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 bzcat 71 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 bzip2 72 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 camcontrol 73 -r-xr-xr-x 1 root wheel 3324376 Jan 12 2007 cat ... how do I reduce the size of the rescue directory? Or, as a last resort, can I safely move it under /usr (which is in a different partition)? Daniel _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"