Bug 8091 - mount: mounting dev on /dev failed: device or resource busy
Summary: mount: mounting dev on /dev failed: device or resource busy
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.21.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 22:14 UTC by linuxcbon
Modified: 2015-05-06 22:14 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linuxcbon 2015-05-06 22:14:07 UTC
Kernel 3.19.2

inittab 
::sysinit:/etc/rc.d/rc.sysinit
tty1::respawn:/sbin/getty 38400 tty1
tty2::respawn:/sbin/getty 38400 tty2
::ctrlaltdel:/sbin/reboot

/etc/rc.d/rc.sysinit
#!/bin/busybox ash
busybox mount -t devtmpfs dev /dev

At bootup /dev is empty. After the kernel is loaded I get this :
mount: mounting dev on /dev failed: device or resource busy
But /dev was created normally :
drwxr-xr-x  2 root root       60 May  6 23:39 bsg
drwxr-xr-x  3 root root       60 May  6 23:39 bus
crw-------  1 root root   5,   1 May  6 23:40 console
......

dmesg
[    3.523940] devtmpfs: mounted
[    3.524235] Freeing unused kernel memory: 796K (ffffffff816a3000 - ffffffff8176a000)
[    3.884091] Switched to clocksource tsc