[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.
Justus
signature.asc
Description: signature
- Updated patches for mount, add umount, Justus Winter, 2013/07/04
- [PATCH 3/6] mount: ignore mounted filesystems if --all is given, Justus Winter, 2013/07/04
- [PATCH 1/6] sutils: fix the semantic of -t, --types in fstab.c, Justus Winter, 2013/07/04
- [PATCH 4/6] mount: handle -t auto, Justus Winter, 2013/07/04
- [PATCH 5/6] sutils: allow multiple entries for the device "none", Justus Winter, 2013/07/04
- [PATCH 2/6] mount: implement -O, --test-opts, Justus Winter, 2013/07/04
- [PATCH 6/6] umount: add a umount utility, Justus Winter, 2013/07/04
- Re: Updated patches for mount, add umount, Samuel Thibault, 2013/07/04
- Re: Updated patches for mount, add umount, Justus Winter, 2013/07/04
- Re: Updated patches for mount, add umount, Samuel Thibault, 2013/07/04
- Re: Updated patches for mount, add umount,
Justus Winter <=
- Re: Updated patches for mount, add umount, Samuel Thibault, 2013/07/04
- Updated patch series for mount, umount, Justus Winter, 2013/07/05
- [PATCH 3/6] mount: ignore mounted filesystems if --all is given, Justus Winter, 2013/07/05
- [PATCH 1/6] sutils: fix the semantic of -t, --types in fstab.c, Justus Winter, 2013/07/05
- [PATCH 4/6] mount: handle -t auto, Justus Winter, 2013/07/05
- [PATCH 2/6] mount: implement -O, --test-opts, Justus Winter, 2013/07/05
- [PATCH 5/6] sutils: allow multiple entries for the device "none", Justus Winter, 2013/07/05
- [PATCH 6/6] umount: add a umount utility, Justus Winter, 2013/07/05
- Re: Updated patch series for mount, umount, Samuel Thibault, 2013/07/07