Linux BusyBox mount-a Fstab

Source: Internet
Author: User

/*********************************************************************** * 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.