[Nix-dev] Re: [Nix-commits] SVN commit: nix - 13908 - ludo - nixos/trunk/boot

Michael Raskin 7c6f434c at mail.ru
Fri Jan 30 01:14:26 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ludovic Courtès wrote:
>>> Mount `/dev/shm' (shared memory support).
>>>  mount -t tmpfs -o "mode=0755" none /dev
>>> +mkdir -m 0777 /dev/shm
>>> +mount -t tmpfs -o "rw,nosuid,nodev" tmpfs /dev/shm
>>>  mkdir -m 0755 -p /dev/pts
>>>  mount -t devpts none /dev/pts
>> Why make it mandatory?
>
> It can't hurt, can it?

Yes it can. That is a "bash -e" script, and custom kernel may lack that
tmpfs functionality. You could as well mount it amongst other
filesystems (I have even added autocreate for that), to avoid
special-casing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJgkZhAAoJEE6tnN0aWvw3IL4IAIC0O1HliljtoQFUG3yT2An3
COcHKeEM767CEeOEJiJbyISZRQX0hkAx7JUQMUf/EQU6JstaF6IwCRawndFS222N
J4UURIKqMBcjRJRn8073b5IMTpb/RZVJj3SEsfiPvcfgydf8WJQA0s3QO1BaQdBz
byCXBfTCC7udPbYhE4oYWQ2o0Lhs6RKNB0catvgDIjeJTSzAi44okBSwomtJoyQ8
h8oLqyUmzsoaC6zvi5hhP5D3oJxVtMkopngfay6+jk/LCUcUltbHNhynyV2gYv/7
+Mtl0lcn/HQt/WPdTc8A3Rpq4RmnRgfHiC+De7b4RNL0bVZ3ad7Z56ohjzQHI3o=
=0rA2
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list