[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 10/17] hurd: add fsys_get_children
From: |
Neal H. Walfield |
Subject: |
Re: [PATCH 10/17] hurd: add fsys_get_children |
Date: |
Mon, 15 Jul 2013 11:34:38 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Mon, 15 Jul 2013 10:37:37 +0200,
Samuel Thibault wrote:
> > I don't like your solution to the mtab problem. But, as you admit,
> > it's really a solution to the fsck problem.
>
> Not only. It's also about umount being able to know what to unmount when
> calling umount /dev/cdrom, about mount/df being able to have a list of
> mounted filesystems, etc. The fsck problem could be solved by simply
> having an exclusive lock on the underlying device node.
Then perhaps we need fsys_set_user / fsys_get_user RPCs. When a
process begins to use a node, it can optionally register itself as a
user. Then others can determine whether the node is being used and
who it is. The user port would be an unauthenticated port
implementing, for instance, the fsys interface.
> > So, let's think about the
> > fsck problem. What we need is a registry. I propose an mtab
> > translator. Translators register with it when they start and register
> > a call back.
>
> Where do they register? Is this yet another well-known translator,
> outside of the filesystem? Having it distributed seems much more
> elegant.
/servers/mtab and $USER/server/mtab.
Neal
- [PATCH 09/17] trans/symlink.c: add fsys_get_children, (continued)
- [PATCH 09/17] trans/symlink.c: add fsys_get_children, Justus Winter, 2013/07/11
- [PATCH 05/17] libfshelp: add translator-list.c, Justus Winter, 2013/07/11
- [PATCH 06/17] libdiskfs: add fsys_get_children, Justus Winter, 2013/07/11
- [PATCH 07/17] libnetfs: add fsys_get_children, Justus Winter, 2013/07/11
- [PATCH 10/17] hurd: add fsys_get_children, Justus Winter, 2013/07/11
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Justus Winter, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children,
Neal H. Walfield <=
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/12
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/15
- Re: [PATCH 10/17] hurd: add fsys_get_children, Justus Winter, 2013/07/18
- Re: [PATCH 10/17] hurd: add fsys_get_children, Samuel Thibault, 2013/07/18
- Re: [PATCH 10/17] hurd: add fsys_get_children, Neal H. Walfield, 2013/07/18
- Re: [PATCH 10/17] hurd: add fsys_get_children, Richard Braun, 2013/07/18
- feature-mtab-translator (v3), Justus Winter, 2013/07/19