/*********************************************************************** * Linux busybox mount-a FS TAB * Declaration: * This article is mainly to verify that the MOUNT-A command involved in the Fstab file mentioned in the device node does not exist * in the case, whether the normal mount (the device has been recognized by the kernel, but did not go through the Mdev * that step), did not find an article mentioned this point, so they verify A bit of thought. * 2016-1-15 Shenzhen Nanshan Ping Shan village Zengjianfeng *********************************************************** ***********/First, reference documents:1. Linux under/etc/fstab file detailed http://linux.chinaunix.net/techdoc/system/2007/12/25/975119.shtml 2. BusyBox-The Swiss Army Knife of Embedded Linux https://busybox.net/downloads/busybox.html 3. Busybox init Process Start Process parsing http://tanatseng.blog.163.com/blog/static/17499162920101125102013932/ 4. Linux/unix Command:Mounthttp://linux.about.com/od/commands/l/blcmdl8_mount.htmSecond,Catfstab #deviceMount-Point type option dump fsck order proc/PROC proc Defaults0 0temps/tmp RPOC Defaults0 0None/tmp Ramfs Defaults0 0Sysfs/sys SYSFS Defaults0 0Mdev/dev Ramfs defaults0 0# This article is mainly to verify that the device node can mount the time, must wait until the device node after the generation. /DEV/MMCBLK0P1/MNT ext3 Defaults0 0Third,Cat/etc/init.d/RcS ... # when the following line is run, it is not possible to mount the following type of device node in the fstab. # Because the device node is not generated. # There must be a mount to execute first-A, because the file system mounted in the fstab is needed for the back Mdev #/DEV/MMCBLK0P1/MNT ext3 Defaults0 0 Mount-aEcho "/sbin/mdev">/proc/sys/kernel/HotPlug/sbin/mdev-s # according to/etc/mdev.conf configuration in the Build Device node # when the following line is run, it is able to mount the following type of device node in the fstab. # Because the device node has a build. # /DEV/MMCBLK0P1/MNT ext3 Defaults0 0 Mount-A
Linux BusyBox mount-a Fstab