[Top][All Lists]

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

Re: Updated patches for mount, add umount

From: Justus Winter
Subject: Re: Updated patches for mount, add umount
Date: Fri, 05 Jul 2013 00:04:24 +0200
User-agent: alot/0.3.4

Quoting Samuel Thibault (2013-07-04 23:53:38)
> Justus Winter, le Thu 04 Jul 2013 23:30:49 +0200, a écrit :
> > Quoting Samuel Thibault (2013-07-04 22:55:51)
> > > Justus Winter, le Thu 04 Jul 2013 18:45:35 +0200, a écrit :
> > > > Note that without a
> > > > mtab or /proc/mounts file the umount utility is not very useful,
> > > 
> > > Mmm? In theory it should easily be able to unmount anything by just
> > > providing the mount point, shouldn't it?
> > 
> > Yes, that's the half of umount that would work.
> Ok, good.

No, because one cannot tell if a given path is a mount point or the
device without consulting the mtab file.

I meant that it would be theoretically be possible to build a umount
that does roughly half of what umount usually does and that half would
be equivalent to settrans -gp /foo. But this umount is fully featured
and does require a mtab file to do anything. Afaict that's how umount
is supposed to work.


Attachment: signature.asc
Description: signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]