[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [e2fsprogs-1.24] "fsck -A -a" fails on reboot



On Fri, 7 Sep 2001, Wenzhuo Zhang wrote:

> On Wed, Sep 05, 2001 at 12:03:17PM -0600, Andreas Dilger wrote:

> It is a slackware box. Slackware doesnt mount /proc first, as redhat do.
> This caused the problem, since newer versions of e2fsck changed its
> assumption of /etc/mtab.

I solved this problem the "dirty" way, excerpt from rc.S follows:

/sbin/fsck -C -a /
/sbin/mount -w -v -n -o remount /
>/etc/mtab
/sbin/fsck -C -R -A -a
/sbin/mount -a -v -t nonfs
/sbin/mount -f /

The last mount just creates the (already mounted) entry for the /
partition in the mtab. Funny thing is that at least suse/redhat
bootupscripts have 2 fscks (root/all other partitions), just slackware
hasn't upgraded their bootupscripts (yet)...

btw. does anybody know why the mtab sanity checks were removed from
e2fsck?

greetz michael





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]