C# Класс Mosa.FileSystem.FAT.Vfs.VfsFileSystem

Наследование: IFileSystemService, IFileSystem
Показать файл Открыть проект

Открытые методы

Метод Описание
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