[Haiku-commits] r30934 - haiku/trunk/src/kits/storage/disk_device
axeld at pinc-software.de
Mon Jun 1 17:22:38 CEST 2009
anevilyak at BerliOS <anevilyak at mail.berlios.de> wrote:
> When we dynamically create a mount point directory, add a special
> marker subdirectory in it so the disk system knows the directory was
> not created by the user. When unmounting, look for the marker and
> remove the mountpoint directory if found. This fixes the issue where
> mount / unmount / > mounting a volume via Tracker would result in
> extra empty dirs in the rootfs.
Why wouldn't the disk device manager not know if it created a directory
> Ideally I'd rather solve this by being able to tag the mount points
> attributes, but this isn't currently possible since the attribute
> overlay is
> a module and thus not available when mounting the rootfs.
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.
More information about the Haiku-commits