fc_getparlist()
will be called, it should return the struct
fs_pars
filled in with parameters suitable for subsequent potential
fc_mkfs()
. All the parameters with up_export
flag should
be returned by the call of this function.
fc_identify()
to call try filesystem identification.
fc_getparams()
is called, it should physically read filesystem
specific data for the partition being imported and modify parameters in
struct fs_pars
. Any parameters specific just for `import' should
be added here.
MUST be set to 1. up_dircount
is not
filled in, fixed by Surprise.
up_dirs
->ud_part
fc_get_rootdirs()
may be optionally called to expand the list of
root-located directoties. Currently not implemented/used.
fc_get_info()
may be optionally called to acquire detailed
information about files on filesystem. This info is just for the
purposes of the conversion and UI will not be able to display it before
the conversion starts. For general filesystem contents information for
the user use `import, detected' flagged user parameters returned by
fc_getparams()
above. After fc_get_rootdirs()
gets
implemented, this callback can be called for any of the interesting
directories returned by it.
fc_init()
is called right before any `import'-specific functions
that follow below.
fc_done()
when Surprise is done with import of this filesystem.