throw new IOException("EXT2 implementation is currently readonly");
if(getMode()==Ext2FileSystem.RO) throw new IOException("Filesystem or directory is mounted read-only!");    INode newINode; Ext2DirectoryRecord dr; try{ int rights = 0xFFFF & (Ext2Constants.EXT2_S_IRWXU | Ext2Constants.EXT2_S_IRWXG | Ext2Constants.EXT2_S_IRWXO); newINode = fs.createINode((int)iNode.getGroup(), Ext2Constants.EXT2_S_IFREG, rights, 0, 0);  dr = new Ext2DirectoryRecord(newINode.getINodeNr(), Ext2Constants.EXT2_FT_REG_FILE, name); }catch(FileSystemException fse) { throw new IOException(fse); }  try{ addDirectoryRecord(dr); }catch(FileSystemException fse) { throw new IOException(fse); }  return new Ext2Entry(newINode, name, Ext2Constants.EXT2_FT_REG_FILE, fs);
	public FSEntry addFile(String name) throws IOException {		throw new IOException("EXT2 implementation is currently readonly");	}