Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 454404

Summary: sys-fs/static-dev: should also check for devtmpfs mounted at /dev
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=469620
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Tsoy 2013-01-28 09:57:53 UTC
New versions of udev doesn't create /dev/.udev directory, but /run/udev instead. So this is bad:
if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then

IMHO ebuild should check if /dev is mounted as devtmpfs or tmpfs.

Reproducible: Always
Comment 1 Alexander Tsoy 2013-01-29 14:16:44 UTC
(In reply to comment #0)
> IMHO ebuild should check if /dev is mounted as devtmpfs or tmpfs.

Hmm.. This is also not correct, because kernel can automount /dev as devtmpfs (CONFIG_DEVTMPFS_MOUNT=y)
Comment 2 Alexander Tsoy 2013-01-29 14:19:21 UTC
(In reply to comment #1)
Please ignore my comment 1. :)
Comment 3 SpanKY gentoo-dev 2013-04-27 09:51:18 UTC
should be all set now in the tree; thanks for the report!

Commit message: Check for devtmpfs too
http://sources.gentoo.org/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.14&r2=1.15