Another reason why - really /tmp
Mikel Manitius
mikel at codas.UUCP
Fri Oct 4 12:00:42 AEST 1985
> >
> >I also changed /etc/rc to clear /tmp with an rm -r
> >
>
> However, you should realize that if /tmp is a filesystem
> in its own right, the lost+found directory will be consumed with the
> rm -r command. Do you really want to do that? Of course it doesn't take
> much to bring it back, but fsck will sorely miss it.
>
> Roger Levasseur
> New Mexico Tech
fsck never misses a lost+found dirrectory, and you probably wouldn't
care to recover any lost files in /tmp anyway. Note one point, if /tmp
is on a seperate filesystem, make sure that it gets mounted before you
do the rm -r /tmp, otherwise you will nuke /tmp and there will be no
place to mount it.
It is also probably safer to "cd /tmp; rm -r .", even though you can't
remove a directory on which a filesystem is mounted, it is not a good
idea to try.
--
=======
Mikel Manitius ==----===== AT&T
...!{ihnp4!}codas!mikel ==------===== Information Systems
(305) 869-2462 ===----====== SDSS Regional Support
AT&T-IS ETN: 755 =========== Altamonte Springs, FL
My opinions are my own. =======
More information about the Comp.unix.wizards
mailing list