Discussion:
/dev/shm and /dev/pts not been created by devtmpfs or udev
F. Heitkamp
2012-04-18 12:41:29 UTC
Permalink
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

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Marco d'Itri
2012-04-18 13:45:07 UTC
Permalink
Post by F. Heitkamp
Any suggestions?
Please ask on the appropriate users support forum/mailing list/newsgroup
/whaterver for your distribution.
--
ciao,
Marco
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Kay Sievers
2012-04-18 14:37:47 UTC
Permalink
Post by 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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
F. Heitkamp
2012-04-19 03:20:23 UTC
Permalink
Post by Kay Sievers
Post by 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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
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

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...