[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] unmounting a filesystem mounted by /init
From:       Ned Ludd <solar () gentoo ! org>
Date:       2005-07-30 3:40:53
Message-ID: 1122694853.14010.26.camel () localhost
[Download RAW message or body]

On Fri, 2005-07-29 at 08:48 -0300, Rafael Ávila de Espíndola wrote:
> On Thursday 28 July 2005 23:50, Jeff Walter wrote:
> > Rafael,
> >
> >      I have no clue if this will work, but maybe try the -n option.  The
> > man says that it won't write to /etc/mtab, but I'm hoping it will ignore it
> > as well and just go for the mount.  Also, you'll be remounting / as
> > read-only effectively, so you won't be able to write /etc/mtab anyways.
> The halt.sh script copies /proc/mounts to /etc/mtab before trying to unmount, 
> so I think that this is not the problem.

In the embedded world /etc/mtab is often a symlink to ../proc/mounts and
everything works well.

-- 
Ned Ludd <solar@gentoo.org>

-- 
gentoo-dev@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic