package
1.5.0
Repository: https://github.com/diskfs/go-diskfs.git
Documentation: pkg.go.dev

# Functions

Create creates a FAT32 filesystem in a given file or device requires the backend.Storage where to create the filesystem, size is the size of the filesystem in bytes, start is how far in bytes from the beginning of the backend.Storage to create the filesystem, and blocksize is is the logical blocksize to use for creating the filesystem note that you are *not* required to create the filesystem on the entire disk.
Read reads a filesystem from a given disk.

# Constants

Fat32MaxSize is maximum size of a FAT32 filesystem in bytes.
FirstFixedDrive is first fixed drive.
FirstRemovableDrive is first removable drive.
GB represents one GB.
KB represents one KB.
MB represents one MB.
Media35Inch for standard 1.44MB and 2.88MB 3.5 inch floppy disks.
Media525InchTandy for 5.25 inch floppy disks for Tandy.
Media8InchDrDos for single-sided 250KB DR-DOS disks.
MediaCustomPartitionsDrDos for non-standard custom DR-DOS partitions utilizing non-standard BPB formats.
MediaCustomSuperFloppyDrDos for non-standard custom superfloppy disks for DR-DOS.
MediaDoubleDensityAltos for double-density floppy disks for Altos only.
MediaFixedDisk for standard fixed disks - can be used for any partitioned fixed or removable media where the geometry is defined in the BPB.
MediaFixedDiskAltos for fixed disk 1.95MB for Altos only.
SectorSize512 is a sector size of 512 bytes, used as the logical size for all FAT filesystems.
TB represents one TB.

# Structs

Directory represents a single directory in a FAT32 filesystem.
File represents a single file in a FAT32 filesystem.
FileInfo represents the information for an individual file it fulfills os.FileInfo interface.
FileSystem implememnts the FileSystem interface.
FSInformationSector is a structure holding the FAT32 filesystem information sector.

# Type aliases

MsdosMediaType is the (mostly unused) media type.
SectorSize indicates what the sector size in bytes is.