/rescue is huge!!

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Tue Jan 27 00:38:25 PST 2009


>
>
> 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



More information about the freebsd-questions mailing list