Opened 5 years ago

Last modified 4 weeks ago

#16042 new bug

diskimage unregister leaves empty directories in devfs

Reported by: pulkomandy Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

after unregistering a disk image, a directory is left in /dev/disk/virtual/files. I think it should be deleted?

Change History (2)

comment:1 by pulkomandy, 5 years ago

There is code in src/system/kernel/disk_device_manager/KFileDiskDevice.cpp to delete the directories but it's commented out with a TODO saying that the devfs should take care of it. Was this ever done? Do all other drivers delete their own directories in the meantime?

comment:2 by waddlesplash, 4 weeks ago

It looks like devfs doesn't even support removing directories at all, at present?

Note: See TracTickets for help on using tickets.