deleting lost+found directory
Vincent Poy
vince at oahu.WURLDLINK.NET
Sat Mar 6 16:01:09 PST 2004
On Sat, 6 Mar 2004, Kris Kennaway wrote:
> On Sat, Mar 06, 2004 at 08:27:11AM -1000, Vincent Poy wrote:
> > Hi everyone:
> >
> > On one of my disks that has no files in it mounted as /mnt/usr,
> > fsck is creating the lost+found directory and underneath each one are
> > directories named starting with # that is empty, is there anyway to remove
> > these? Thanks.
>
> They're just directories, remove them in the usual way.
Tried that, didn't work...
root at bigbang [4:00pm][/mnt/usr] >> cd lost+found
root at bigbang [4:00pm][/mnt/usr/lost+found] >> dir
total 56
drwxr-xr-x 20 root wheel - 512 Mar 6 10:16 #5558272
drwxr-xr-x 5 root wheel - 512 Mar 4 04:00 #7018496
drwxr-xr-x 108 root wheel - 8704 Mar 1 04:00 #7206914
drwxr-xr-x 43 root wheel - 1024 Mar 4 04:00 #7254025
drwxr-xr-x 118 root wheel - 2048 Mar 4 04:00 #7254167
drwx------ 7 root wheel - 35840 Mar 6 10:33 .
drwxr-xr-x 49 root wheel - 512 Mar 5 20:43 ..
root at bigbang [4:00pm][/mnt/usr/lost+found] >> dir *
#5558272:
total 38
drwxr-xr-x 20 root wheel - 512 Mar 6 10:16 .
drwx------ 7 root wheel - 35840 Mar 6 10:33 ..
#7018496:
total 38
drwxr-xr-x 5 root wheel - 512 Mar 4 04:00 .
drwx------ 7 root wheel - 35840 Mar 6 10:33 ..
#7206914:
total 46
drwxr-xr-x 108 root wheel - 8704 Mar 1 04:00 .
drwx------ 7 root wheel - 35840 Mar 6 10:33 ..
#7254025:
total 38
drwxr-xr-x 43 root wheel - 1024 Mar 4 04:00 .
drwx------ 7 root wheel - 35840 Mar 6 10:33 ..
#7254167:
total 38
drwxr-xr-x 118 root wheel - 2048 Mar 4 04:00 .
drwx------ 7 root wheel - 35840 Mar 6 10:33 ..
root at bigbang [4:00pm][/mnt/usr/lost+found] >> rm -rf *
rm: #5558272: Directory not empty
rm: #7018496: Directory not empty
rm: #7206914: Directory not empty
rm: #7254025: Directory not empty
rm: #7254167: Directory not empty
Cheers,
Vince - vince at WURLDLINK.NET - Vice President ________ __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ]
WurldLink Corporation / / / / | / | __] ]
San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1 at IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin
More information about the freebsd-questions
mailing list