# Functions
GetDriver initializes and returns the registered driver.
GetFSMagic returns the filesystem id given the path.
New creates the driver and initializes it at the specified root.
Register registers a InitFunc for the driver.
# Constants
FsMagicAufs filesystem id for Aufs.
FsMagicBtrfs filesystem id for Btrfs.
FsMagicCramfs filesystem id for Cramfs.
FsMagicExtfs filesystem id for Extfs.
FsMagicF2fs filesystem id for F2fs.
FsMagicJffs2Fs filesystem if for Jffs2Fs.
FsMagicJfs filesystem id for Jfs.
FsMagicNfsFs filesystem id for NfsFs.
FsMagicRAMFs filesystem id for RamFs.
FsMagicReiserFs filesystem id for ReiserFs.
FsMagicSmbFs filesystem id for SmbFs.
FsMagicSquashFs filesystem id for SquashFs.
FsMagicTmpFs filesystem id for TmpFs.
FsMagicUnsupported is a predifined contant value other than a valid filesystem id.
FsMagicVxFS filesystem id for VxFs.
FsMagicXfs filesystem id for Xfs.
FsMagicZfs filesystem id for Zfs.
# Variables
DefaultDriver if a storage driver is not specified.
ErrIncompatibleFS returned when file system is not supported.
ErrNotSupported returned when driver is not supported.
ErrPrerequisites retuned when driver does not meet prerequisites.
FsNames maps filesystem id to name of the filesystem.
# Interfaces
Driver is the interface for layered/snapshot file system drivers.
ImageRestorer interface allows the implementer to add a custom image to the graph and tagstore.
ProtoDriver defines the basic capabilities of a driver.
Recorder is an interface that exposes the Graph.Register and Graph.Exists functions without needing to import graph.
Tagger is an interface that exposes the TagStore.Tag function without needing to import graph.