Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Init script error

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: nealbirch <nealbirch AT attbi.com>
  • To: Chris Brien <christopher_brien AT hotmail.com>
  • Cc: Sorcerer AT TheDragonsEdge.com, SM-Discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Init script error
  • Date: Sat, 23 Nov 2002 18:57:16 -0500

Chris Brien wrote:
From: nealbirch <nealbirch AT attbi.com>

echo "done."
mount -n -o remount,rw /
echo > /etc/mtab
mount -f -o remount,rw /
mount -a -F
rm -f /fastboot /forcefsck



-F (Used in conjunction with -a.) Fork off a new incarnation of mount for each device. This will do the mounts on different devices or different NFS servers in parallel. This has the advantage that it is faster; also NFS timeouts go in parallel. A disadvantage is that the mounts are done in undefined order. Thus, you cannot use this option if you want to mount both /usr and /usr/spool.

-f Causes everything to be done except for the actual system call; if it's not obvious, this ``fakes'' mounting the file system.
...It can also be used to add entries for devices that were mounted earlier with the -n option.


As it says right here. Root is mounted first with -n, so there will not be an mtab entry. It's later mounted with -f, so the mtab entry is created without actually remounting.

Ahhh. Thanks, that makes sense.


--
"You can fool some of the people all of the time
--and those are the ones you have to concentrate on!"
GW Bush-- from the N.Y. Times





Archive powered by MHonArc 2.6.24.

Top of Page