Crate rsfdisk_sys

source

Structs§

Constants§

Functions§

Type Aliases§

  • fdisk_asktype: @FDISK_ASKTYPE_NONE: undefined type @FDISK_ASKTYPE_NUMBER: ask for number @FDISK_ASKTYPE_OFFSET: ask for offset @FDISK_ASKTYPE_WARN: print warning message and errno @FDISK_ASKTYPE_WARNX: print warning message @FDISK_ASKTYPE_INFO: print info message @FDISK_ASKTYPE_YESNO: ask Yes/No question @FDISK_ASKTYPE_STRING: ask for string @FDISK_ASKTYPE_MENU: ask for menu item
  • fdisk_fieldtype: @FDISK_FIELD_NONE: unspecified item @FDISK_FIELD_DEVICE: partition device name @FDISK_FIELD_START: start offset of the partition @FDISK_FIELD_END: end offset of the partition @FDISK_FIELD_SECTORS: number of sectors @FDISK_FIELD_CYLINDERS: number of cylinders (deprecated) @FDISK_FIELD_SIZE: partition size @FDISK_FIELD_TYPE: partition type @FDISK_FIELD_TYPEID: partition type ID @FDISK_FIELD_ATTR: partition attribute (GPT) @FDISK_FIELD_BOOT: partition boot flag @FDISK_FIELD_BSIZE: size of the boot area (BSD) @FDISK_FIELD_CPG: BSD @FDISK_FIELD_EADDR: End-C/H/S (MBR) @FDISK_FIELD_FSIZE: BSD @FDISK_FIELD_NAME: partition label/name @FDISK_FIELD_SADDR: Start-C/H/S (MBR) @FDISK_FIELD_UUID: partition UUID (GPT) @FDISK_FIELD_FSUUID: Filesystem UUID @FDISK_FIELD_FSLABEL: Filesystem LABEL @FDISK_FIELD_FSTYPE: Filesystem type @FDISK_NFIELDS: Don’t use, counter.
  • fdisk_labelitem_bsd: @BSD_LABELITEM_TYPE: type @BSD_LABELITEM_DISK: disk @BSD_LABELITEM_PACKNAME: packname @BSD_LABELITEM_FLAGS: flags (removable, ecc, badsect) @BSD_LABELITEM_SECSIZE: Bytes/Sector @BSD_LABELITEM_NTRACKS: Tracks/Cylinder @BSD_LABELITEM_SECPERCYL: Sectors/Cylinder @BSD_LABELITEM_CYLINDERS: Cylinders @BSD_LABELITEM_RPM: rpm @BSD_LABELITEM_INTERLEAVE: interleave @BSD_LABELITEM_TRACKSKEW: trackskew @BSD_LABELITEM_CYLINDERSKEW: cylinderskew @BSD_LABELITEM_HEADSWITCH: headswitch @BSD_LABELITEM_TRKSEEK: track-to-track seek
  • fdisk_labelitem_gen: @FDISK_LABELITEM_ID: Unique disk identifier @__FDISK_NLABELITEMS: Specifies reserved range for generic items (0..7)
  • fdisk_labelitem_gpt: @GPT_LABELITEM_ID: GPT disklabel UUID (!= partition UUID) @GPT_LABELITEM_FIRSTLBA: First Usable LBA @GPT_LABELITEM_LASTLBA: Usable LBA @GPT_LABELITEM_ALTLBA: Alternative LBA (backup header LBA) @GPT_LABELITEM_ENTRIESLBA: Partitions entries array LBA @GPT_LABELITEM_ENTRIESALLOC: Number of allocated entries in entries array
  • fdisk_labelitem_sgi: @SGI_LABELITEM_PCYLCOUNT: Physical cylinders @SGI_LABELITEM_SPARECYL: Extra sects/cyl @SGI_LABELITEM_ILFACT: nterleave @SGI_LABELITEM_BOOTFILE: Bootfile
  • fdisk_labelitem_sun: @SUN_LABELITEM_LABELID: Label ID @SUN_LABELITEM_VTOCID: Volume ID @SUN_LABELITEM_RPM: Rpm @SUN_LABELITEM_ACYL: Alternate cylinders @SUN_LABELITEM_PCYL: Physical cylinders @SUN_LABELITEM_APC: Extra sects/cyl @SUN_LABELITEM_INTRLV: Interleave
  • fdisk_labeltype: @FDISK_DISKLABEL_DOS: MBR label type @FDISK_DISKLABEL_SUN: SUN label type @FDISK_DISKLABEL_SGI: SGI label type @FDISK_DISKLABEL_BSD: BSD label type @FDISK_DISKLABEL_GPT: UEFI GPT type
  • fdisk_parttype_parser_flags: @FDISK_PARTTYPE_PARSE_DATA: parse hex or UUID from string @FDISK_PARTTYPE_PARSE_DATALAST: try hex or UUID as the last possibility (don’t use!) @FDISK_PARTTYPE_PARSE_SHORTCUT: try input as type shortcut (e.g ‘L’ for linux partition) @FDISK_PARTTYPE_PARSE_ALIAS: try input as type alias (e.g. ‘linux’ for linux partition) @FDISK_PARTTYPE_PARSE_DEPRECATED: accept also deprecated aliases and shortcuts @FDISK_PARTTYPE_PARSE_DEFAULT: recommended flags for new code @FDISK_PARTTYPE_PARSE_NOUNKNOWN: ignore unknown types @FDISK_PARTTYPE_PARSE_SEQNUM: use input as sequntial number of type (e.g. list-types fdisk dialog) @FDISK_PARTTYPE_PARSE_NAME: parse type human readable name
  • fdisk_sector_t