RDB(1A) MISC. REFERENCE MANUAL PAGES RDB(1A)
NAME
rdb - create and manage disk partition tables
SYNOPSIS
rdb [ -H ] device
rdb [options] -c device {partition-name start length} ...
rdb [options] device
DESCRIPTION
rdb can be used in three major ways: to display a disk par-
tition table, to create one, or to modify one.
rdb with no options or with the -H option will display the
partition table on the specified device, if there is one.
rdb with the -c option creates a disk partition table on the
specified device. rdb with the -p option will modify param-
eters associated with the selected partition.
OPTIONS
rdb recognizes the following options:
-b Make the selected partition non-bootable.
-B Make the selected partition bootable.
-c Causes rdb to create a new partition table and write it
to the specified device. A partition list must follow
the arguments.
-C n The the number of custom boot blocks for the selected
partition to n. An Amiga Unix boot partition requires
2 custom boot blocks.
-f file
Add the specified loadseg file to the filesystem for
the selected partition.
-F n Set the file system type on the selected partition to
n, wher n is a four digit hex number. Valid file sys-
tem types are:
0x444f5300 DOS\0 AmigaDOS old filesystem
0x444f5301 DOS\1 AmigaDOS fast filesystem (ffs)
0x554e4900 UNI\0 Unix s5 filesystem
0x554e4901 UNI\1 Unix boot filesystem
0x554e4902 UNI\2 Unix ufs filesystem
0x72657376 RESV Reserved partition (Unix swap)
-H Present partition information in a human-readable form.
Sun Microsystems Last change: 1
RDB(1A) MISC. REFERENCE MANUAL PAGES RDB(1A)
-m Make the selected partition not mountable.
-M Make the selected partition mountable.
-p n Select partition n. The b, B, C, P, f and F options
operate on the selected partition. Partitions are num-
bered starting at 1.
-P n Set the boot priority on the selected partition to n.
-R n Set the number of filesystem reserved blocks to n.
-s n Set sectors per track to n. Default sectors per track
is 1. If another value is used, partitions must end on
track boundaries.
DIAGNOSTICS
rdb's exit status indicates success or failure. An
appropriate message is written to standard error output on
failure.
Sun Microsystems Last change: 2