Supermount README
=================

Running supermount
------------------

To run supermount, compile and install a kernel with the supermount
patches and select "Y" to the question

	Supermount removable media support (CONFIG_SUPERMOUNT) [Y/n/?] 

when you run "make config".  You set up a supermount filesystem with
the normal mount command, using the syntax:

	mount -t supermount -o <superfs-options>,--,<subfs-options> <mpt> <mpt>

where

	<superfs-options> are the options you want to pass to supermount
	itself.  These are described below.

	<subfs-options> are the options you want supermount to pass to the
	dismountable filesystem underneath.

	<mpt> is the mount point where you want your removable media to be
	mounted. 

Notice that you do not directly specify the block device you are going
to mount on the mount command line.  This is because the supermount
filesystem is NOT connected to a block device; rather, supermount is
responsible for connecting a separate filesystem to the block device.
You specify the sub-filesystem and block device name by providing the
<superfs-options> field, where the following options are currently
recognised:

* fs=<filesystem-type>			[default is "msdos"]

	Specify the subfilesystem type.  "msdos" and "iso9660" have
been tested.

* dev=<block-device>			[default is "/dev/fd0"]

	Specify the block device on which the subfs is to be mounted.

* debug

	Enable debugging code in the supermount filesystem, if
the debug option was enabled at compile time.  By default, debugging
code is compiled into the kernel but is disabled until a debug mount
option is seen.

* '--'

	All options after the option string '--' will be passed
directly to the subfilesystem when it gets mounted.

