Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rdb(1A) — Amiga System V Release 4 Version 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RDB(1A)  —  MISC REFERENCE MANUAL PAGES

NAME

rdb − create and manage hard disk partition tables

SYNOPSIS

rdb [ -H ] device
 rdb [options] -c device {partition-name start length} ...
 rdb [options] device

DESCRIPTION

rdb has three major purposes:  to display a hard disk partition table, to create a hard disk parition table, or to modify a hard disk partition table. 

rdb with no options or with the -H option displays 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 modifies parameters 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 Sets the number of custom boot blocks for the selected partition to n.  An Amiga Unix boot partition requires 2 custom boot blocks. 

-e Clear the "last drive in system" bit on the specified device. 

-E Set the "last drive in system" bit on the specified device. 

-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, where n is a four digit hex number.  Valid file system 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
0x554e4902UNI\2        Unix ufs filesystem
0x72657376      RESV         Reserved partition (Unix swap)

-H Present partition information in a human-readable form. 

-L n Make rdb use block n as the default position for the rdb.  If not set, the default position is block 0. 

-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 numbered 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 you use another value, make sure that partitions end on track boundaries. 

DIAGNOSTICS

rdb’s exit status indicates success or failure.  An appropriate message is written to standard error output upon failure. 

Amiga Unix  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026