The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Dumb geek question by Kickstart2006-09-07 17:23:22
  I think the kernel does by Sharku2006-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 bwkaz2006-09-07 19:23:47
        *Has a flashback to college courses* by Stuka2006-09-07 20:26:39

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)