Miscellaneous filesystem code for Plomino development