NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41689: fsck_root: Boot fails with root-on-nfs
The following reply was made to PR bin/41689; it has been noted by GNATS.
From: Alan Barrett <apb%cequrux.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/41689: fsck_root: Boot fails with root-on-nfs
Date: Fri, 10 Jul 2009 20:48:53 +0200
On Thu, 09 Jul 2009, Christoph_Egger%gmx.de@localhost wrote:
> /etc/rc.d/fsck_root assumes / to be always on disk.
>
> It runs fsck / unconditionally.
> If root is on nfs, fsck fails with error code 1.
> fsck_root then prints:
>
> "Unknown error 1; help!"
If you don't want to fsck "/", then put a zero value in the
fs_passno column of /etc/fstab.
> + 1) # OK, / is on nfs
> + return
> + ;;
I don't think that's the right solution. exit 1 does not necessarily mean
that everything is OK.
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index