Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 1998 16:00:00 +1030
From:      Mike Smith <mike@smith.net.au>
To:        Warner Losh <imp@village.org>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Musing on boot 
Message-ID:  <199801050530.QAA01099@word.smith.net.au>
In-Reply-To: Your message of "Sun, 04 Jan 1998 21:40:19 PDT." <199801050440.VAA25521@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> The idea is to have a list of file systems that *MUST* be present for
> the system to come up.  These files systems are fsck'd and mounted
> synchronously.  All the rest of the file systems have a fsck kicked
> off in the background, and a mount done when that fsck happens to
> finish.

List the "optional" filesystems in /etc/fstab with '0' fsck pass values 
and 'noauto' mount options, then put

fsck <special> && mount <filesystem> &

for each filesystem in /etc/rc.local

> I thought I'd bounce it off hackers.  It seems like such a simple idea
> that something must be wrong with it.

It's certainly not new.  8)

> P.S.  Code to follow if there appears to be interest...

I would be inclined to suggest that an option to mount_ffs(8) that 
automatically fsck'ed a filesystem before mounting it would be a good 
way to go.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\ 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801050530.QAA01099>