[Haiku-commits] r30934 - haiku/trunk/src/kits/storage/disk_device
axeld at pinc-software.de
Tue Jun 2 09:32:17 CEST 2009
Rene Gollent <anevilyak at gmail.com> wrote:
> 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
> 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?
I was thinking of a way to tell the disk device manager to delete the
mount point on unmount.
But I guess your solution is good enough for now.
More information about the Haiku-commits