bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 10/17] hurd: add fsys_get_children


From: Samuel Thibault
Subject: Re: [PATCH 10/17] hurd: add fsys_get_children
Date: Mon, 15 Jul 2013 10:37:37 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Neal H. Walfield, le Fri 12 Jul 2013 19:00:31 +0200, a écrit :
> --recursive only applies to the active translators, not the passive
> translators.  Also, it doesn't need to shutdown shortcut translators,
> such as, symlinks, which should perhaps be returned by your proposed
> RPC.

I don't think it should.

> 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.

> 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.

Samuel



reply via email to

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