}
}
public static void createFloppy(File f) throws Exception {
GrubFatFormatter ff = new GrubFatFormatter(0, null, null);
FileDevice newFd = new FileDevice(f, "rw");
newFd.setLength(1440 * 1024);
ff.format(newFd);
// newFd.start();
final FileSystemService fSS = InitialNaming.lookup(FileSystemService.NAME);
FatFileSystemType type = fSS.getFileSystemType(FatFileSystemType.ID);
FatFileSystem fs = new FatFileSystem(newFd, false, type);