|
|
Back to UserFriendly Strip Comments Index
|
Dumb geek question | by Kickstart | 2006-09-07 17:23:22 |
|
I think the kernel does | by Sharku | 2006-09-07 17:35:59 |
| No, certainly not. |
by bwkaz |
2006-09-07 19:21:40 |
(Well, maybe in devfs, but devfs is (1) unmaintained, (2) racy, and (3) deprecated, so you really shouldn't be using it anymore...)
In a udev system, the /dev/shm directory should be created because the distro creates a /lib/udev/devices/shm directory. Then one of the bootscripts will copy (recursively) everything that's in /lib/udev/devices into /dev right after it mounts the /dev tmpfs. Including the shm directory.
(/dev itself, by the way, is created by the distro installation. It requires at least static "console" and "null" device nodes so that /sbin/init can start running.)
Then once the directory is copied from /lib/udev/devices, the tmpfs can be mounted on /dev/shm so that POSIX shared memory starts working.
(However: I am sure that the only thing that requires /dev/shm is POSIX shared memory. I've never heard of a /dev/shm/network directory or file; AFAIK you can set up networking just fine without that. But then, I do a lot of stuff manually, even on a Debian system we have at work -- I find it much less confusing than having to learn how Debian's networking stuff gets done. Especially with multiple VLAN sub-devices on one NIC.) |
|
[ Reply ] |
|
Oh, and note: POSIX shared mem is not the same as | by bwkaz | 2006-09-07 19:23:47 |
|
*Has a flashback to college courses* | by Stuka | 2006-09-07 20:26:39 |
|
|
[Todays Cartoon Discussion]
[News Index]
|
|