Re: Problem with mtab?
This is what I have in my /etc/init.d/boot, version
@(#)boot 2.10 26-Apr-1997 miquels@cistron.nl
[cut]
#
# Remount rootfs rw (default), but do not try to change mtab because it
# is on a ro fs until the remount succeeded. Then clean up old mtabs and
# finally write the new mtab.
#
mount -n -o remount,rw /
rm -f /etc/mtab~ /etc/nologin
: > /etc/mtab
mount -o remount,rw /
mount /proc
[cut]
So according to this, /etc/init.d/boot should take care of removing /etc/mtab~
during the boot.
The /etc/init.d/boot file I have comes with sysvinit version 2.71-2 that was
installed with Debian 1.3.
// Heikki
Sylvain Briole <sbriole@nathalie.eclice.org> wrote:
>
> Hello all,
>
> I use Debian 1.2/Linux 2.0.29.
> I have three partitions on my hard disk :
>
> /dev/hda1 : linux
> /dev/hda2 : linux swap
> /dev/hda3 : ms-dos 6.22
>
> And I have a problem with the mount command :
>
> nathalie# mount /hda3/
> can't lock lock file /etc/mtab~: timed out
>
> So, I delete /etc/mtab~ and it runs.
> But, I have to delete this mtab~ at each boot.
> I have three computer running Debian, and it is the only one with this
> problem.
>
> Any idea?
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: