1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
7 D.10. /etc/rc.d/init.d/mountfs
9 <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
10 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
11 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
12 "text/css" media="print" />
14 <body class="lfs" id="lfs-6.6">
15 <div class="navheader">
17 Linux From Scratch - Version 6.6
20 付録 D. ブートスクリプトと sysconfig スクリプト version-20100124
24 <a accesskey="p" href="apds09.html" title=
25 "/etc/rc.d/init.d/checkfs">前のページ</a>
27 /etc/rc.d/init.d/checkfs
31 <a accesskey="n" href="apds11.html" title=
32 "/etc/rc.d/init.d/udev_retry">次のページ</a>
34 /etc/rc.d/init.d/udev_retry
38 <a accesskey="u" href="scripts.html" title=
39 "付録 D. ブートスクリプトと sysconfig スクリプト version-20100124">上に戻る</a>
42 <a accesskey="h" href="../index.html" title=
43 "Linux From Scratch - Version 6.6">ホーム</a>
47 <div class="wrap" lang="ja" xml:lang="ja">
49 <a id="mountfs" name="mountfs"></a>D.10. /etc/rc.d/init.d/mountfs
53 ########################################################################
54 # Begin $rc_base/init.d/mountfs
56 # Description : File System Mount Script
58 # Authors : Gerard Beekmans - gerard@linuxfromscratch.org
64 ########################################################################
71 boot_mesg "Remounting root file system in read-write mode..."
72 mount -n -o remount,rw / >/dev/null
75 # Remove fsck-related file system watermarks.
76 rm -f /fastboot /forcefsck
78 boot_mesg "Recording existing mounts in /etc/mtab..."
80 mount -f / || failed=1
81 mount -f /proc || failed=1
82 mount -f /sys || failed=1
86 # This will mount all filesystems that do not have _netdev in
87 # their option list. _netdev denotes a network filesystem.
88 boot_mesg "Mounting remaining file systems..."
89 mount -a -O no_netdev >/dev/null
94 boot_mesg "Unmounting all other currently mounted file systems..."
95 umount -a -d -r >/dev/null
100 echo "Usage: ${0} {start|stop}"
105 # End $rc_base/init.d/mountfs
108 <div class="navfooter">
111 <a accesskey="p" href="apds09.html" title=
112 "/etc/rc.d/init.d/checkfs">前のページ</a>
114 /etc/rc.d/init.d/checkfs
118 <a accesskey="n" href="apds11.html" title=
119 "/etc/rc.d/init.d/udev_retry">次のページ</a>
121 /etc/rc.d/init.d/udev_retry
125 <a accesskey="u" href="scripts.html" title=
126 "付録 D. ブートスクリプトと sysconfig スクリプト version-20100124">上に戻る</a>
129 <a accesskey="h" href="../index.html" title=
130 "Linux From Scratch - Version 6.6">ホーム</a>