xfs
[Top] [All Lists]

Re: xfs.fsck change that is unhelpful

To: xfs@xxxxxxxxxxx
Subject: Re: xfs.fsck change that is unhelpful
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Mon, 16 Aug 2010 04:44:08 -0500
In-reply-to: <4C68A1CC.4050206@xxxxxxxxx>
References: <4C670101.8050901@xxxxxxxxx> <20100815005240.GH10429@dastard> <4C674AE8.7030107@xxxxxxxxx> <20100816015505.GJ10429@dastard> <4C68A1CC.4050206@xxxxxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6
Linda Walsh put forth on 8/15/2010 9:26 PM:

>     That said -- how many people, who have their /home or /usr/people
> partition
> 'local' to their machine, automount it?  

I do.  Who wouldn't?  And why not?

/dev/sda6  /home     xfs   defaults   0     0
/dev/sda7  /samba    xfs   defaults   0     0


> I admit to thinking of the fsck
> field as having
> some meaning in the order in which file systems are mounted.  I guess
> that order is
> random now, though how I'm supposed to tell mount that '/home needs to
> be mounted
> only after "/", but need to be mounted before /home/share, without some
> ordering
> in fstab is something that is supposed to be specified....where?

The device mount order is defined by the lines in the fstab file.  Devices are
mounted in order, top to bottom, as each line is read.

>     I.e. isn't that field also the order in which file systems are
> mounted, or
> is there some other place that order is maintained other than in fstab?

>     Sorry, am definitely showing my ignorance in this area.

No need to apologize.  This is easily remedied by learning.  Start here:

      In general, file system mount order is determined by the order in which
the file systems appear in the fstab file. The exceptions to this ordering are
file systems mounted with the _netdev flag or filesystems that have their own
init scripts.

      A file system with its own init script is mounted later in the
initialization process, after the file systems in the fstab file.

      File systems mounted with the _netdev flag are mounted when the network
has been enabled on the system.

-- 
Stan

<Prev in Thread] Current Thread [Next in Thread>