On Sat, 20 Aug 2005 22:48:41 +0530
Shriramana Sharma
I search Google a bit for this, but could find no authoritative documents to my satisfaction, so I appeal to the authority of the list.
Is there any fixed set of rules that determines what order the entries of /etc/fstab should be in?
Is it okay if /foo/bar is mounted as /tea/cup before /foo is mounted as /coffee? Is it okay if /foo is mounted as /tea/cup before /koo is mounted as /tea?
Other such superficially-conflict-looking examples? Rule 1: In the US, coffee must always be mounted before anything else. In the UK and India, tea is always predominant.
The important ordering is that a file system must be mounted before
another file system is mounted on it.
Certainly, root must be the first file system to be mounted.
In a case where /usr and /usr/local are separate file systems, /usr
must be mounted before /usr/local.
Otherwise it makes no real difference. I suppose if you really want to
get picky, you want to mount devices in the order they occur on disk to
speed things up a bit.
--
Jerry Feldman