Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454404 - sys-fs/static-dev: should also check for devtmpfs mounted at /dev
Summary: sys-fs/static-dev: should also check for devtmpfs mounted at /dev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 09:57 UTC by Alexander Tsoy
Modified: 2013-05-14 16:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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