ptab(4) ptab(4)NAME ptab - partition table file SYNOPSIS /etc/ptab DESCRIPTION The ptab file contains information regarding the known partitions present on the local machine. It is read and/or modified by the pname(1M) utility. The system administrator can modify it with a text editor, though this is not recommended. For each partition a single line should be present with the following information: name Name of the partition - must not be greater than 32 characters long. type Type of the partition - must not be greater than 32 characters long. If this field is left empty, the default type Apple_UNIX_SVR2 will be assumed. controller This is the controller number of the disk containing this partition. disk This is the disk number (for the specified controller) of the disk containing this partition. slice This is the slice (partition) number of the partition. comment All additional information at the end of the line is treated as a comment. The partition table file is an ASCII file. Fields within an entry are separated from each other by colons. Each entry is separated from the next by a newline. Entries are separated by newlines. The ptab file can also have a line beginning with the sharp character (#), which means that this line should be treated as a comment and ignored. EXAMPLES Here is a sample /etc/ptab file: #name:type:controller:disk:slice[:comment] #root::0:0:0:assigned by default #swap::0:0:1:assigned by default src::0:0:3 users::1:0:0:on extra disk January 1992 1
ptab(4) ptab(4)Macintosh:Apple_HFS:0:0:13:Mac partition WARNINGS Appropriate precautions must be taken to lock the /etc/ptab file against simultaneous modifications. LIMITATIONS The current revision of the software will not support colons (:) in partition names or partition types. FILES /etc/ptab File containing partition table SEE ALSO getptabent(3) dp(1M), pname(1M) in A/UX System Administrator's Reference 2 January 1992