separate partition format handling from generic code

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
4 files changed