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

RE: [debian-user] Re: mountkernfs, mountvirtfs, and devpts.sh



Bill Moseley wrote:
> 
> I'm not using tmpfs for anything that I know of.  That's why I didn't
> enable it on my last kernel build.  Do systems expect that tmpfs will
> be available?  I see I've got it enabled on other machines 
> but /dev/shm
> is empty.  Why use the RAM if it's not needed.

It seems to be needed at boot time.

> [BTW -- can tmpfs get swapped to disk?  That would seem to defeat the
> purpose, I guess.]

You betcha.  One of the first problems I encountered with 2.6 was that 
I run a large (3GB) swap partition and /tmp on tmpfs (I got tired of trying 
to do Oracle installs and finding it didn't like the amount of virtual 
memory _or_ temporary file space).  I had to delete /etc/default/tmpfs to 
get it to use _my_ tmpfs instead of /dev/shm (I kept finding both mounted, 
and it seemed to be slowing down any attempt to access /tmp - that may have 
just been my imagination).  I'd really like to find a better way to force
tmpfs to use my own definition.

Thanks for bringing this up anyway. I've now removed mountkernfs and
devpts.sh 
without any negative effects.  Of course, it didn't _fix_ any of the
oddities
in my boot process, either :-)
--
derek



Reply to: