[Haiku-commits] r30934 - haiku/trunk/src/kits/storage/disk_device

Rene Gollent anevilyak at gmail.com
Mon Jun 1 17:33:24 CEST 2009


On Mon, Jun 1, 2009 at 10:22 AM, Axel Dörfler <axeld at pinc-software.de> wrote:
> Why wouldn't the disk device manager not know if it created a directory
> anyway?

Unless I'm missing something, that fact isn't being tracked anywhere
in the disk device manager code. The directory creation happens solely
in the kit classes in userland, so there's no persistent spot where
any client using the disk device framework would be aware of the
dynamically created directory except the VFS itself. Unless you'd
rather have some notification sent to the kernel-side disk device
manager to let it know about it, I don't see a better way to keep
track. Thoughts?

> The attribute overlay would be overkill here, anyway; if that attribute
> is really needed, one could make the rootfs accept a single attribute
> for this purpose easily.

Well, I was thinking more in case other kinds of metadata might be
nice there, but understood.

Regards,

Rene



More information about the Haiku-commits mailing list