devices created as files
Bug #1441197 reported by
James Hunt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
goget-ubuntu-touch (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The s-i archives that u-d-f unpacks specify the contents of /dev. However, running the following on a snappy system gives unexpected results:
ubuntu@localhost:~$ ls -l /dev|grep ^-|wc -l
0
ubuntu@localhost:~$ ls -l /dev|egrep "^(b|c)"|wc -l
181
ubuntu@localhost:~$ sudo mount -obind / /mnt
ubuntu@localhost:~$ ls -l /mnt/dev/|grep ^-|wc -l
80
ubuntu@localhost:~$ ls -l /mnt/dev/|egrep "^(b|c)"|wc -l
0
The real files in /dev "underneath" the devtmpfs mount are files, not char and block devices as they should be.
To post a comment you must log in.