Creating Linux virtual filesystems
Posted Oct 22, 2002 19:23 UTC (Tue) by
gregkh (subscriber, #8)
Parent article:
Creating Linux virtual filesystems
Nice article.
Unfortunatly, your module is not able to be unloaded, right (I'm guessing as I haven't tried the code myself)? Problem is that nothing is removing the files that you have created, forcing the module count to always remain positive.
To work around this, see the gyrations I had to do with get_mount and put_mount in the drivers/hotplug/pci_hotplug.c and drivers/usb/core/inode.c code.
And patches to help port those two files to use libfs more are greatly appreciated :)
(
Log in to post comments)