C# 클래스 SharpOS.Kernel.FileSystem.FATFileSystem.FAT

상속: SharpOS.Kernel.FileSystem.GenericFileSystem
파일 보기 프로젝트 열기: sharpos/SharpOS 1 사용 예제들

공개 메소드들

메소드 설명
CreateVFSMount ( ) : IFileSystem
Delete ( uint childBlock, uint parentBlock, uint parentBlockIndex ) : void
ExtractFileName ( byte directory, uint index ) : string
FAT ( IPartitionDevice partition ) : System
FindEntry ( FAT compare, uint startCluster ) : DirectoryEntryLocation
FindNthCluster ( uint start, uint count ) : uint
Format ( FATSettings fatSettings ) : bool
GetClusterEntry ( byte data, uint index, FATType type ) : uint
GetFileSize ( uint directoryBlock, uint index ) : uint
GetSectorsPerClusterByTotalSectors ( FATType type, uint sectors ) : byte
NextCluster ( uint start ) : uint
ReadCluster ( uint cluster, byte block ) : bool
ReadCluster ( uint cluster ) : byte[]
WriteCluster ( uint cluster, byte block ) : bool

보호된 메소드들

메소드 설명
AllocateCluster ( ) : uint
FreeClusterChain ( uint first ) : bool
GetClusterBySector ( uint sector ) : uint
GetClusterEntryValue ( uint cluster ) : uint
IsClusterBad ( uint cluster ) : bool
IsClusterFree ( uint cluster ) : bool
IsClusterLast ( uint cluster ) : bool
IsClusterReserved ( uint cluster ) : bool
IsUsed ( uint cluster ) : bool
IsValidFatCharacter ( char c ) : bool
ReadBootSector ( ) : bool
SetClusterEntryValue ( uint cluster, uint nextcluster ) : bool

메소드 상세

AllocateCluster() 보호된 메소드

protected AllocateCluster ( ) : uint
리턴 uint

CreateVFSMount() 공개 메소드

public CreateVFSMount ( ) : IFileSystem
리턴 IFileSystem

Delete() 공개 메소드

public Delete ( uint childBlock, uint parentBlock, uint parentBlockIndex ) : void
childBlock uint
parentBlock uint
parentBlockIndex uint
리턴 void

ExtractFileName() 공개 정적인 메소드

public static ExtractFileName ( byte directory, uint index ) : string
directory byte
index uint
리턴 string

FAT() 공개 메소드

public FAT ( IPartitionDevice partition ) : System
partition IPartitionDevice
리턴 System

FindEntry() 공개 메소드

public FindEntry ( FAT compare, uint startCluster ) : DirectoryEntryLocation
compare FAT
startCluster uint
리턴 DirectoryEntryLocation

FindNthCluster() 공개 메소드

public FindNthCluster ( uint start, uint count ) : uint
start uint
count uint
리턴 uint

Format() 공개 메소드

public Format ( FATSettings fatSettings ) : bool
fatSettings FATSettings
리턴 bool

FreeClusterChain() 보호된 메소드

protected FreeClusterChain ( uint first ) : bool
first uint
리턴 bool

GetClusterBySector() 보호된 메소드

protected GetClusterBySector ( uint sector ) : uint
sector uint
리턴 uint

GetClusterEntry() 정적인 공개 메소드

static public GetClusterEntry ( byte data, uint index, FATType type ) : uint
data byte
index uint
type FATType
리턴 uint

GetClusterEntryValue() 보호된 메소드

protected GetClusterEntryValue ( uint cluster ) : uint
cluster uint
리턴 uint

GetFileSize() 공개 메소드

public GetFileSize ( uint directoryBlock, uint index ) : uint
directoryBlock uint
index uint
리턴 uint

GetSectorsPerClusterByTotalSectors() 공개 정적인 메소드

public static GetSectorsPerClusterByTotalSectors ( FATType type, uint sectors ) : byte
type FATType
sectors uint
리턴 byte

IsClusterBad() 보호된 메소드

protected IsClusterBad ( uint cluster ) : bool
cluster uint
리턴 bool

IsClusterFree() 보호된 메소드

protected IsClusterFree ( uint cluster ) : bool
cluster uint
리턴 bool

IsClusterLast() 보호된 메소드

protected IsClusterLast ( uint cluster ) : bool
cluster uint
리턴 bool

IsClusterReserved() 보호된 메소드

protected IsClusterReserved ( uint cluster ) : bool
cluster uint
리턴 bool

IsUsed() 보호된 메소드

protected IsUsed ( uint cluster ) : bool
cluster uint
리턴 bool

IsValidFatCharacter() 보호된 정적인 메소드

protected static IsValidFatCharacter ( char c ) : bool
c char
리턴 bool

NextCluster() 공개 메소드

public NextCluster ( uint start ) : uint
start uint
리턴 uint

ReadBootSector() 보호된 메소드

protected ReadBootSector ( ) : bool
리턴 bool

ReadCluster() 공개 메소드

public ReadCluster ( uint cluster, byte block ) : bool
cluster uint
block byte
리턴 bool

ReadCluster() 공개 메소드

public ReadCluster ( uint cluster ) : byte[]
cluster uint
리턴 byte[]

SetClusterEntryValue() 보호된 메소드

protected SetClusterEntryValue ( uint cluster, uint nextcluster ) : bool
cluster uint
nextcluster uint
리턴 bool

WriteCluster() 공개 메소드

public WriteCluster ( uint cluster, byte block ) : bool
cluster uint
block byte
리턴 bool