Re: xfs.fsck change that is unhelpful

Stan Hoeppner
2010-08-16T09:43:41Z

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