June 2017
Intermediate to advanced
478 pages
13h 14m
English
Support for the devtmpfs filesystem is controlled by kernel configuration variable: CONFIG_DEVTMPFS. It is not enabled in the default configuration of the ARM Versatile PB, so if you want to try out the following using this target, you will have to go back and enable this option. Trying out devtmpfs is as simple as entering this command:
# mount -t devtmpfs devtmpfs /dev
You will notice that afterward, there are many more device nodes in /dev. For a permanent fix, add this to /etc/init.d/rcS:
#!/bin/shmount -t proc proc /procmount -t sysfs sysfs /sysmount -t devtmpfs devtmpfs /dev
If you enable CONFIG_DEVTMPFS_MOUNT in your kernel configuration, the kernel will automatically mount devtmpfs just after mounting ...
Read now
Unlock full access