[arch-general] tmpfs

Thomas Bächler thomas at archlinux.org
Thu Mar 25 17:07:52 CET 2010


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100325/fc1be366/attachment.bin>


More information about the arch-general mailing list