Supermount is a pseudo-filesystem which manages filesystems on removable media like floppy disks and CD-ROMs. It frees you from need to manually mount and unmount media.
With supermount, you can change the disk in the drive whenever you want (with the obvious exception that you shouldn't do it when the filesystem is actively in use). You don't need to "cd" out of the directory first, and you don't need to tell the kernel what you're doing --- supermount will detect the media change automatically.
Supermount will automatically detect whether the media you are mounting is read-write or readonly, and if you mount a write-protected disk, then the subfs will be mounted as a readonly filesystem.
Supermount detects when you have finished activity on the subfs, and will flush all buffers to the disk before completing the operation. So, if you copy a file onto a supermounted floppy disk, the data will all be written to disk before the "cp" command finishes. When the command does complete, it will be safe to remove the disk.
http://supermount-ng.sourceforge.net/
On Thu, 2004-01-08 at 21:44, Kristof vansant wrote:
Supermount is a pseudo-filesystem which manages filesystems on removable media like floppy disks and CD-ROMs. It frees you from need to manually mount and unmount media.
Last time I saw supermount code I almost lost my lunch (although that was the 2.4 version, I'm not entirely optimistic, and I've just eaten).
For 2.6, it's entirely possible that it can be done almost entirely in userspace using udev & dbus. The work Robert Love and the other ximian folks are doing on this seems to be moving along at a speedy rate. (Check out http://primates.ximian.com/~rml/blog/ for info)
Dave
On Thu, Jan 08, 2004 at 11:39:41PM +0000, Dave Jones wrote:
For 2.6, it's entirely possible that it can be done almost entirely in userspace using udev & dbus. The work Robert Love and the other ximian folks are doing on this seems to be moving along at a speedy rate. (Check out http://primates.ximian.com/~rml/blog/ for info)
For 2.4 > 2.4.9 you can do it in user space. Did it ages ago but my implementation is *not* pretty and the performance via userspace is inadequate with modern CD/DVD drives.
Its just a usermode NFSd that mount/umounts the device underneath as it needs it