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

Inheritance: IFileSystemService, IFileSystem
Afficher le fichier Open project: tgiphil/MOSA-Project

Méthodes publiques

Méthode 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 méthode

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

Mount() public méthode

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
Résultat bool

VfsFileSystem() public méthode

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