Skip to contentSkip to conversation

/dev/shm and /dev/pts not been created by devtmpfs or udev

DISCUSSION F. Heitkamp 3 participants 4 messages Apr 18, 2012 – Apr 19, 2012

lore
Share & tools
lore
#0 lore raw

I am using kernel 3.3.2 and udev 182.
I have TMPFS, DEVTMPFS, DEVTMPFS_MOUNT and SHMEN all yes.

However after the machine boots there is no /dev/shm or /dev/pts in the /dev/ directory and udev does not create them even though they are in the /usr/libexec/udev/devices directory.

Any suggestions?

Fred

#1 lore raw
Quoted 1 line · F. Heitkamp

Any suggestions?

Please ask on the appropriate users support forum/mailing list/newsgroup /whaterver for your distribution.

Signature · 2 lines
ciao,
Marco
#2 lore raw
In reply to F. Heitkamp
Quoted 6 lines · F. Heitkamp

I am using kernel 3.3.2 and udev 182.
I have TMPFS, DEVTMPFS, DEVTMPFS_MOUNT and SHMEN all yes.

However after the machine boots there is no /dev/shm or /dev/pts in the /dev/ directory and udev does not create them even though they are in the /usr/libexec/udev/devices directory.

Udev uses /lib/udev/. never libexec/, (/usr)/lib/udev/ is a de-facto API and should not be changed.

"strace udevd" might show what goes wrong on your box.

Kay

#3 lore raw
In reply to F. Heitkamp
Quoted 10 lines · Kay Sievers
Quoted 6 lines · F. Heitkamp

I am using kernel 3.3.2 and udev 182.
I have TMPFS, DEVTMPFS, DEVTMPFS_MOUNT and SHMEN all yes.

However after the machine boots there is no /dev/shm or /dev/pts in the /dev/ directory and udev does not create them even though they are in the /usr/libexec/udev/devices directory.

Udev uses /lib/udev/. never libexec/, (/usr)/lib/udev/ is a de-facto API and should not be changed.

Quoted 8 lines

"strace udevd" might show what goes wrong on your box.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Sorry. The devices directory is "/lib/udev/devices".

udev seems to be mostly working AFAICT. When I plug/unplug USB or firewire, I can see events being processed with udevadm monitor.

There is no shm or pts directory shown in /proc/devices. Should there be?

There is also lots of information in the /run directory tree.

Fred