C# Class Mosa.FileSystem.FAT.Vfs.VfsFileSystem

Inheritance: IFileSystemService, IFileSystem
Mostrar archivo Open project: tgiphil/MOSA-Project

Public Methods

Method Description
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.

Method Details

Format() public method

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

Mount() public method

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
return bool

VfsFileSystem() public method

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