Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 14:00:12 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        questions@freebsd.org
Subject:   Re: deleting lost+found directory
Message-ID:  <20040306135922.I8264-100000@oahu.WURLDLINK.NET>
In-Reply-To: <20040306223131.GD74091@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@bigbang [4:00pm][/mnt/usr] >> cd lost+found
root@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@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@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@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@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040306135922.I8264-100000>