/// <summary>
/// 创建一个文件夹
/// </summary>
/// <param name="name"></param>
public void CreateDirectory(String name)
{
VFS.AssertNameValid(name);
INode inode = vfs.AllocateINode(1, 2333);
if (!dir.Add(name, new INodeDirectory(vfs, inode)))
{
throw new Exception("创建文件夹失败");
}
}