Created
June 13, 2019 12:54
-
-
Save devantoine/8570804226cb3c55bfab161653227067 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant-ubuntu-trusty-64:~$ grep -rn 'mount ' /etc/init.d/ | |
/etc/init.d/umountnfs.sh:9:# Short-Description: Unmount all network filesystems except the root fs. | |
/etc/init.d/umountnfs.sh:42: # Make list of points to unmount in reverse order of their creation | |
/etc/init.d/umountnfs.sh:77: fstab-decode umount $FLAGS $DIRS | |
/etc/init.d/umountfs:8:# Short-Description: Turn off swap and unmount all local file systems. | |
/etc/init.d/umountfs:59: fstab-decode umount $TMPFS_MTPTS | |
/etc/init.d/umountfs:62: log_daemon_msg "Will now unmount temporary filesystems" | |
/etc/init.d/umountfs:63: fstab-decode umount -v $TMPFS_MTPTS | |
/etc/init.d/umountfs:83: # Unmount local filesystems | |
/etc/init.d/umountfs:86: # Do not use -f umount option for WEAK_MTPTS | |
/etc/init.d/umountfs:90: fstab-decode umount -r -d $WEAK_MTPTS | |
/etc/init.d/umountfs:93: log_daemon_msg "Will now unmount weak filesystems" | |
/etc/init.d/umountfs:94: fstab-decode umount -v -r -d $WEAK_MTPTS | |
/etc/init.d/umountfs:103: fstab-decode umount -f -r -d $REG_MTPTS | |
/etc/init.d/umountfs:106: log_daemon_msg "Will now unmount local filesystems" | |
/etc/init.d/umountfs:107: fstab-decode umount -f -v -r -d $REG_MTPTS | |
/etc/init.d/vboxadd:48:# udev rule and shared folder mount helper should be created/set up. | |
/etc/init.d/vboxadd:263: # mount -a -t vboxsf | |
/etc/init.d/vboxadd:276: if ! umount -a -t vboxsf 2>/dev/null; then | |
/etc/init.d/vboxadd:277: fail "Cannot unmount vboxsf folders" | |
/etc/init.d/vboxadd:466: # Put the mount.vboxsf mount helper in the right place. | |
/etc/init.d/vboxadd:470: # SELinux security context for the mount helper. | |
/etc/init.d/apparmor:55: if ! mount -t securityfs none "${SECURITYFS}"; then | |
/etc/init.d/udev:11:# we need to unmount /dev/pts/ and remount it later over the devtmpfs | |
/etc/init.d/udev:14: umount -n -l /dev/pts/ | |
/etc/init.d/udev:18: umount -n -l /dev/shm/ | |
/etc/init.d/udev:22:# mount a devtmpfs over /dev, if somebody did not already do it | |
/etc/init.d/udev:25: mount -n -o remount,size=$tmpfs_size,mode=0755 -t devtmpfs devtmpfs /dev | |
/etc/init.d/udev:29: if ! mount -n -o size=$tmpfs_size,mode=0755 -t devtmpfs devtmpfs /dev; then | |
/etc/init.d/udev:168: [ -d /proc/1 ] || mount -n /proc | |
/etc/init.d/rc:82: mount -t linprocfs linprocfs /proc | |
/etc/init.d/umountroot:50: # mount -n -o remount,ro / | |
/etc/init.d/umountroot:51: # will act on a bind mount of / if there is one. | |
/etc/init.d/umountroot:53: mount $MOUNT_FORCE_OPT -n -o remount,ro -t dummytype dummydev / 2>/dev/null \ | |
/etc/init.d/umountroot:54: || mount $MOUNT_FORCE_OPT -n -o remount,ro dummydev / 2>/dev/null \ | |
/etc/init.d/umountroot:55: || mount $MOUNT_FORCE_OPT -n -o remount,ro / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment