split up FS.init
Merge pull request #1457 from inolen/fs_init_split

split up FS.init