C# 클래스 Mosa.FileSystem.FAT.Vfs.VfsFileSystem

상속: IFileSystemService, IFileSystem
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

공개 메소드들

메소드 설명
Format ( GenericFileSystemSettings settings ) : bool

Formats the media with the file system.

Mount ( ) : bool

Mounts a file system from the specified stream/device.

File system implementations should not blindly assume that the block device or file really contain the expected file system. An implementation should run some checks for integrity and validity before returning an object implementing IFileSystem. Also this method should not throw. In contrast to other operating systems, the user will not be forced to know the file system on disk. The file system manager will try all file systems until it finds one, which returns a non-null IFileSystem. So a failure in a mount operation is not considered an exception, but a normal process.

VfsFileSystem ( FatFileSystem fat ) : Mosa.FileSystem.VFS

Initializes a new instance of the VfsFileSystem class.

메소드 상세

Format() 공개 메소드

Formats the media with the file system.
public Format ( GenericFileSystemSettings settings ) : bool
settings GenericFileSystemSettings The settings for the file system to create.
리턴 bool

Mount() 공개 메소드

Mounts a file system from the specified stream/device.
File system implementations should not blindly assume that the block device or file really contain the expected file system. An implementation should run some checks for integrity and validity before returning an object implementing IFileSystem. Also this method should not throw. In contrast to other operating systems, the user will not be forced to know the file system on disk. The file system manager will try all file systems until it finds one, which returns a non-null IFileSystem. So a failure in a mount operation is not considered an exception, but a normal process.
public Mount ( ) : bool
리턴 bool

VfsFileSystem() 공개 메소드

Initializes a new instance of the VfsFileSystem class.
public VfsFileSystem ( FatFileSystem fat ) : Mosa.FileSystem.VFS
fat FatFileSystem The fat.
리턴 Mosa.FileSystem.VFS