Date: Tue, 27 Jan 2009 09:38:13 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Daniel Ajoy <da.ajoy@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: /rescue is huge!! Message-ID: <20090127093659.X13109@wojtek.tensor.gdynia.pl> In-Reply-To: <op.uoeiyjxx0gup8g@daniel-pc> References: <op.uoeiyjxx0gup8g@daniel-pc>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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 do cd /rescue echo * >/tmp/xxx edit /tmp/xxx - remove all files that doesn't have 3324376 size, and one file of 3324376, say it will be cat then rm `cat /tmp/xxx` for x in `cat /tmp/xxx`;do ln cat $x;done
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090127093659.X13109>
