acorn-fdisk(8) partition editor for Acorn/RISC OS machines


-h | -help | -v | --version

[-t scheme | --type scheme ] -l | --list [device ... ]

[-t scheme | --type scheme ] -s | --size partition

[-t scheme | --type scheme ] [device ]


The utility allows one to display or interactively edit partition tables for Acorn/RISC OS machines in various formats. Using the PC/BIOS format, standard IBM PC (i386) partition tables can also be accessed. When no optional device is given, it defaults to /dev/hda or /dev/sda

The options are as follows:

-h | -help
Display a short usage and exit immediately.
-l | --list
Display the partition table(s) of all device s
-s | --size
Display the size of partition
-t | --type
Select the partitioning scheme to use. Valid schemes are:

Eesox SCSI on the Acorn machines.
Linux on Filecore. This uses the non-ADFS descriptor to point to the start of the disc to be partitioned. The first two sectors contain a partition table to identify the Linux partitions contained within.
PC/BIOS partitioning scheme. This consists of a partition table in the first sector of the disk which contains both CHS and LBA values for the partitions. There can be up to four entries in the primary partition table. One of these can be an extended partition containing up to four extra partitions.
PowerTec SCSI on the Acorn machines.
RiscIX on Filecore.

-v | --version
Display the version of and exit immediately.

If neither -l | --list or -s | --size are given, the partition table of the given device will be edited interactively.


Display the default device's partition table on a PC:
--type PC/BIOS -l

Display the PC partition table of /dev/sda

--type PC/BIOS --list /dev/sda

Display the size in blocks of the partition /dev/sda1

--type PC/BIOS --size /dev/sda1

Edit the MBR partition table interactively:

--type PC/BIOS

Display the partition table of an MBR backed up to a file:

-t PC/BIOS -l mbrdump.bin

Display the size of the first partition on a device where the MBR would be restored from the backup file mbrdump.bin

-t PC/BIOS -s mbrdump.bin1


arm-fdisk was written by An Russell King Aq based on util-linux fdisk which was written at least partially by An A. V. Le Blanc Aq .

This manual page was written for the Debian system by An Thorsten Glaser Aq but may be used by others.