[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: devfs and tmpfs



* dman (dman@dman.ddts.net) [020331 22:04]:
> On Sun, Mar 31, 2002 at 03:55:48AM -0800, Paul 'Baloo' Johnson wrote:
> | OK, I installed devfs and it seems to be working OK, I'm wondering how I
> | ditch the original disk-based /dev filesystem now.
> 
> Boot with a floppy or cd.  Then you can get to the contents of 'dev'
> on disk.  (I need to do this sometime with /tmp, see below :-))
> 
> | Also, anybody try tmpfs, or should I stick with a disk-based /tmp and
> | tmpreaper?
> 
> I'm using tmpfs.  The feature that hooked me was automatic clearing on
> reboot.  I also get to avoid using any disk space for temp stuff.

FWIW, /etc/init.d/bootmisc does clean /tmp on each boot. I was about to
paste it here when I realized it's actually a not entirely trivial ~30
lines.

I remember an irate poster a while back coming at the list with "what
gives you the right to delete my data?!" after having stored a bunch of
stuff in /tmp and losing it across a reboot. It was sort of amusing,
especially when he realized that he was in an entirely ridiculous
position and that no amount of SCREAMING at a bunch of strangers would
bring his data back.

good times,
Vineet

-- 
Currently seeking opportunities in the SF Bay Area
Please see http://www.doorstop.net/resume.shtml

Attachment: pgpSL0KVhqCZW.pgp
Description: PGP signature


Reply to: