Re: tmpfs

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



Am 25.03.2010 16:53, schrieb Juan Diego:
> Good day everyone,
> 
> I want to delete the next two lines from my fstab:
> 
> none /dev/pts devpts defaults 0 0
> none /dev/shm tmpfs defaults 0 0
> 
> however I would like to know the secondary effects of doing such
> thing, all the information I could get on the internet is that shm is
> for POSIX shared memory support and that almost any program actually
> use it, for devpts I couldn't find much information about it.
> 
> does anyone knows if it is safe to remove those lines from my fstab?

This is definitely NOT SAFE!

If you don't have /dev/shm, POSIX shared memory will use the same tmpfs
filesystem as /dev, which is currently limited to 10MB - POSIX shared
memory blocks might be much larger.

As for removing /dev/pts, I was tempted to tell you to do it, as it's SO
funny what happens: No pseudo TTYs are available anymore. This will
effectively prevent ssh logins, screen, any X terminal and probably many
more applications from allocating a TTY, so the only way to get a shell
is to login via a real TTY (console).

I am curious, why would you want to remove these? I am glad thouh that
you asked BEFORE killing your system instead of after.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux