Summary: | sys-fs/eudev can't mount udev on /dev | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ayaka <ayaka> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | ayaka |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ayaka
2014-03-28 15:19:18 UTC
(In reply to ayaka from comment #0) > Does eudev need devtmpfs and auto mount it? Yes. > I have enabled them as without it I can't mount /dev at all. > But the udev from systemd seems doesn't need it. Both sys-fs/udev (bug #463475) and sys-fs/eudev have a pkg_setup() check that warns you when CONFIG_DEVTMPFS is not enabled in your current kernel. sys-kernel/gentoo-sources defaults to having it enabled (bug #455880) *** This bug has been marked as a duplicate of bug 408947 *** (In reply to Jeroen Roovers from comment #1) > (In reply to ayaka from comment #0) > > Does eudev need devtmpfs and auto mount it? > > Yes. > > > I have enabled them as without it I can't mount /dev at all. > > But the udev from systemd seems doesn't need it. > > Both sys-fs/udev (bug #463475) and sys-fs/eudev have a pkg_setup() check > that warns you when CONFIG_DEVTMPFS is not enabled in your current kernel. > > sys-kernel/gentoo-sources defaults to having it enabled (bug #455880) > > *** This bug has been marked as a duplicate of bug 408947 *** No, I have enabled devtmpfs. The problem is not about devtmpfs, but udev, eudev can't replacee devtmpfs in /dev. (In reply to ayaka from comment #0) > It is 1.3 in buildroot > > Reproducible: Always > > Steps to Reproduce: > 1.mount > 2. mount -t udev udev /dev Don't do that. > 5. mount -t udev udev /dev Again, wrong command line. > devtmpfs on /dev type devtmpfs > (rw,relatime,size=489840k,nr_inodes=122460,mode=755) Looks good. > [root@kyou ~]# mount -t udev udev /dev > mount: mounting udev on /dev failed: No such device Don't do that. I don't see any problems mentioned in the bug, reclose as INVALID S(In reply to ayaka from comment #2) > (In reply to Jeroen Roovers from comment #1) > > (In reply to ayaka from comment #0) > > > Does eudev need devtmpfs and auto mount it? > > > > Yes. > > > > > I have enabled them as without it I can't mount /dev at all. > > > But the udev from systemd seems doesn't need it. > > > > Both sys-fs/udev (bug #463475) and sys-fs/eudev have a pkg_setup() check > > that warns you when CONFIG_DEVTMPFS is not enabled in your current kernel. > > > > sys-kernel/gentoo-sources defaults to having it enabled (bug #455880) > > > > *** This bug has been marked as a duplicate of bug 408947 *** > > No, I have enabled devtmpfs. The problem is not about devtmpfs, but udev, > eudev can't replacee devtmpfs in /dev. (In reply to Samuli Suominen from comment #3) > (In reply to ayaka from comment #0) > > It is 1.3 in buildroot > > > Again, wrong command line. [root@kyou ~]# udevadm trigger --type=subsystems --action=add [root@kyou ~]# udevadm trigger --type=devices --action=add [root@kyou ~]# udevadm settle --timeout=60 [root@kyou ~]# mount -n -t devtmpfs -o "exec,nosuid,mode=0755,size=10M" udev /dev mount: mounting udev on /dev failed: Device or resource busy I think this time it is the correct command line And I have tried [root@kyou ~]# echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug [root@kyou ~]# udevadm trigger it doesn't work either. > > Looks good. > no, I think the correct result shall like this udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=122460,mode=755) but it is devtmpfs on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=122460,mode=755) now > > I don't see any problems mentioned in the bug, reclose as INVALID The problem is that udev doesn't take manage of /dev |