Searched refs:mtab (Results 1 – 17 of 17) sorted by relevance
93 if [ ! -L /etc/mtab ]; then94 cat /proc/mounts > /etc/mtab
144 if [ ! -e /etc/mtab ] && [ -e /proc/mounts ]; then145 ln -sf /proc/mounts /etc/mtab
140 if [ ! -L /etc/mtab ] && [ -e /proc/mounts ]; then141 ln -sf /proc/mounts /etc/mtab
70 cat /proc/mounts > /etc/mtab
149 ln -sf /proc/mounts /dev/mtab
80 root_dev=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $1; }}' /etc/mtab)
19 file = /etc/mtab
31 file = /etc/mtab
26 # Util-linux (u)mount is included because the busybox one can't handle /etc/mtab being symlinked to…
34 /dev/loopN device if /etc/mtab file on your system is a symbolic link to
67 wrong options -- or it will fail because it cannot write to /etc/mtab.522 # type "unknown" in /etc/mtab. If we encounter584 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do644 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
113 ln -sf /proc/mounts ${D}${sysconfdir}/mtab
65 char const *mtab = "/proc/self/mounts"; in build_fs_mount_list_from_mtab() local69 fp = setmntent(mtab, "r"); in build_fs_mount_list_from_mtab()71 error_setg(errp, "failed to open mtab file: '%s'", mtab); in build_fs_mount_list_from_mtab()
74 ac_cv_ETC_MNTTAB=/etc/mtab \
933 …/etc/mtab -> $(SEC_CONFIG) -i ; # Inode number changes on any mount/unmount
234 lrwxrwxrwx root root 12 ./etc/mtab -> /proc/mounts