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

Ludovic Courtès ludo at gnu.org
Fri Jan 30 09:39:02 CET 2009


Michael Raskin <7c6f434c at mail.ru> writes:

> 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.

That would be very unfortunate since the line just above mounts `/dev'
as a tmpfs, too.

Thanks,
Ludo'.




More information about the nix-dev mailing list