Hi and thanks for the replies
My question was
> the lost+found was lost some how and I want to recreate one. I know it's
> no good to mkdir because as much as I remember lost+found has to
> allocate inode 3. What way is there besides newfs ? ( can't relay on
It seems that the lost+found can allocate any inode entry.
You have to make sure the directory is big enough (8k) to be used by
fsck so you can create 650 empty files and then delete them
here is the script that does it.
# mklost+found - shell script for recreating lost+found
echo "Making lost+found directory..."
/usr/etc/chown root ./lost+found
/bin/chgrp wheel ./lost+found
/bin/chmod 755 ./lost+found
echo "Moving into lost+found directory..."
echo "Creating temporary files in lost+found directory..."
while [ "$nofiles" -le 650 ]
nofiles=`expr $nofiles + 1`
echo "Deleting temporary files in lost+found directory..."
And above all fsck will create lost+found for me if it isn't there. A
phenomenon that didn't happened in my case.
Sorry I failed to write a subject to the question (I could sweare I
Thanks alot to:
jgotobed@LPL.Arizona.EDU (Joe Gotobed)
Marc Mason <firstname.lastname@example.org>
email@example.com (Jeff Wasilko)
firstname.lastname@example.org (Celeste Stokely)
Anatoly.Lisovsky@kamaz.kazan.su (Anatoly M. Lisovsky)
Jay Lessert <email@example.com>
firstname.lastname@example.org (Stephen Harris)
Anderson McCammont <email@example.com>
Jens Fischer <firstname.lastname@example.org>
email@example.com (Jochen Bern)
firstname.lastname@example.org (Eric Peterson)
Stephen Schaefer <email@example.com>
firstname.lastname@example.org (Andrej Misik)
-- Harel --- Hareldv@netvision.net.il
\||/ ( ) _____||_____ (_____ _____) | | / \ | /\ | _/ | | \_ /___/ \___\
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT