*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> prtvtoc (1)              


prtvtoc(1M)							   prtvtoc(1M)

NAME    [Toc]    [Back]

     prtvtoc - print disk volume header	information

SYNOPSIS    [Toc]    [Back]

     /etc/prtvtoc [[-aefhms] [-t fstab]] [rawdiskname]

DESCRIPTION    [Toc]    [Back]

     prtvtoc prints a summary of the information in the	volume header for a
     single disk or all	of the local disks attached to a system	(see vh(7M)).
     The command is usually used only by the superuser.

     The rawdiskname name should be the	raw device filename of a disk volume
     header in the form	/dev/rdsk/dks?d?vh.

     Note:  prtvtoc knows about	the special file directory naming conventions,
     so	the /dev/rdsk prefix can be omitted.

     If	no name	is given, the information for the root disk is printed.

     In	single disk mode, prtvtoc prints information about the disk geometry
     (number of	cylinders, heads, and so on), followed by information about
     the partitions.  For each partition, the type is indicated	(for example,
     filesystem, raw data, and so on).	Cylinders can be non-integral values,
     as	they may not correspond	to actual physical values, for some drive
     types.  For filesystem partitions,	prtvtoc	shows if there is actually a
     filesystem	on the partition, and if it is mounted,	the mount point	is
     shown.  Mount points shown	in square brackets indicate the	mount point of
     the logical volume	the partition belongs to.

     The following options to prtvtoc can be used:

     -s		Print only the partition table,	with headings but without the

     -h		Print only the partition table,	without	headings and comments.
		Use this option	when the output	of the prtvtoc command is
		piped into another command.

     -t	fstab	Use the	file fstab instead of /etc/fstab.

     The following options create summaries from all disk volume headers:

     -a		Show abbreviated partition listings for	all disks attached to
		the system.

     -m		List all partitions in use by local filesystems.  The listing
		includes partitions that belong	to logical volumes.

     -e		Extended listing.  This	combines the -a	and -m options as well
		as reporting unallocated (free)	partitions, and	overlapping
		mounted	partitions.

									Page 1

prtvtoc(1M)							   prtvtoc(1M)

EXAMPLE    [Toc]    [Back]

     The output	below is for a SCSI system (root) disk obtained	by invoking
     prtvtoc without parameters.  A change from	earlier	releases is that we no
     longer treat disk drives as though	they were of fixed geometry (most SCSI
     disks no longer have fixed	geometry), synthesizing	a geometry that	made
     the capacity work.	 Now they are simply treated as	a stream of blocks, so
     there is no longer	any information	about cylinders	and other drive
     geometry, just partition information.

	  Printing label for root disk

	  * /dev/root (bootfile	"/unix")
	  *	512 bytes/sector
	  Partition  Type  Fs	Start: sec    Size: sec	  Mount	Directory
	   0	      efs  yes	      4608	4108800
	   1	      raw	   4113408	  81408
	   8	   volhdr		 0	   4608
	  10	   volume		 0	4194816

     This next output is for a SCSI option disk	obtained by invoking prtvtoc
     with drive	dks0d2vh as the	parameter.

	  * /dev/rdsk/dks0d2vh (bootfile "/unix")
	  *	512 bytes/sector
	  Partition  Type  Fs	Start: sec    Size: sec	  Mount	Directory
	   7	      xfs  yes	      4560	8684310	  /usr/people
	   8	   volhdr		 0	   4560
	  10	   volume		 0	8688870

SEE ALSO    [Toc]    [Back]

     dvhtool(1M), fx(1M), dks(7M), vh(7M).

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
dvhtool IRIX modify and obtain disk volume header information
vh IRIX disk volume header
istat IRIX print the header information of a list of image files.
vxbootsetup HP-UX set up system boot information on a VERITAS Volume Manager disk
lifinit HP-UX write LIF volume header on file
vxcp_lvmroot HP-UX copy LVM root disk onto new VERITAS Volume Manager root disk
vxres_lvmroot HP-UX restore LVM root disk from VERITAS Volume Manager root disk
xlv IRIX logical volume disk driver
vxdestroy_lvmroot HP-UX remove LVM root disk and associated LVM volume group
vxdisksetup HP-UX configure a disk for use with VERITAS Volume Manager
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service