On Fri, 2010-04-09 at 11:03 +1200, Steve Holdoway wrote:
> The last colum in fstab is marked pass. This defines in what order
> partitions are mounted. You must mount /var in the first pass, as
> software needs it there immediately. So change the root and /var pass
> values to 0 and all should be well. 

I don't know if it might be used to define what order they are mounted
in, but I believe the official use it what order to fsck partitions
in. / should be 1 and other partitions should be > 1 or 0 if you don't
want them checked.

>From the man page;

The  sixth field, (fs_passno), is used by the fsck(8) program to
determine the order in which filesystem checks are done at reboot time.
The root filesystem should be specified with a fs_passno of 1, and other
filesystems should have a fs_passno of 2.  Filesystems  within  a  drive
will  be checked  sequentially,  but filesystems on different drives
will be checked at the same time to utilize parallelism available in the
hardware.  If the sixth field is not present or zero, a value of zero is
returned and fsck will assume that the filesystem does not need to be
checked.


hads

-- 
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier

Reply via email to