/titanic_51/usr/src/man/man1m/ |
H A D | fdisk.1m | 8 fdisk \- create or modify fixed disk partition table 12 \fBfdisk\fR [\fB-o\fR \fIoffset\fR] [\fB-s\fR \fIsize\fR] [\fB-P\fR \fIfill_patt\fR] [\fB-S\fR \fIgeom_file\fR] 13 [\fB-w\fR | \fB-r\fR | \fB-d\fR | \fB- [all...] |
H A D | fmthard.1m | 8 fmthard \- populate label on hard disks 13 \fBfmthard\fR \fB-d\fR \fIdata\fR | \fB-n\fR \fIvolume_name\fR | \fB-s\fR \fIdatafile\fR [\fB-i\fR] /dev/rdsk/c? 20 \fBfmthard\fR \fB-d\fR \fIdata\fR | \fB-n\fR \fIvolume_name\fR | \fB-s\fR \fIdatafile\fR [\fB-i\fR] /dev/rdsk/c? 29 \fBfdisk\fR partition [all...] |
H A D | installboot.1m | 19 .Nd install bootloader in a disk partition 26 .Ar bootblk raw-device 31 .Ar raw-device | Ar file 36 .Ar raw-device attach-raw-device 41 .Ar stage1 stage2 raw-device 45 .Ar raw-device | Ar file 49 .Ar raw-device attach-ra [all...] |
/titanic_51/usr/src/man/man7i/ |
H A D | dkio.7i | 23 dkio \- disk control operations 39 geometry, and partition information. Basic to these \fBioctl()\fR requests are 53 structure tells the controller-type and attributes regarding bad-block 79 ushort_t dki_partition; /* partition number */ 89 #define DKC_CDROM 1 /* CD-ROM, SCSI or other */ 104 #define DKC_PCMCIA_MEM 21 /* PCMCIA memory disk-like */ 130 #define DKI_PCMCIA_PFD 0x40 /* PCMCIA pseudo-floppy */ 133 .in -2 143 This \fBioctl()\fR gets the controller's notion of the current partition tabl [all...] |
/titanic_51/usr/src/cmd/format/ |
H A D | partition.c | 27 * This file contains functions that operate on partition tables. 32 #include "partition.h" 39 * Default vtoc information for non-SVr4 partitions 42 { V_ROOT, 0 }, /* a - 0 */ 43 { V_SWAP, V_UNMNT }, /* b - 1 */ 44 { V_BACKUP, V_UNMNT }, /* c - 2 */ 45 { V_UNASSIGNED, 0 }, /* d - 3 */ 46 { V_UNASSIGNED, 0 }, /* e - 4 */ 47 { V_UNASSIGNED, 0 }, /* f - 5 */ 48 { V_USR, 0 }, /* g - [all...] |
H A D | modify_partition.c | 27 * This file contains functions to implement the partition menu commands. 32 #include "partition.h" 52 /* Function prototypes for non-ANSI C Compilers */ 69 * Modify/Create a predefined partition table. 75 struct dk_map32 *map = tmp_pinfo->pinfo_map; in p_modify() 78 int free_hog = -1; in p_modify() 89 return (-1); in p_modify() 93 * check if there exists a partition table for the disk. in p_modify() 96 err_print("Current Disk has no partition table.\n"); in p_modify() 97 return (- in p_modify() [all...] |
H A D | menu_partition.c | 26 * This file contains functions to implement the partition menu commands. 32 #include "partition.h" 46 /* Function prototypes for non-ANSI C Compilers */ 53 * This routine implements the 'a' command. It changes the 'a' partition. 64 * This routine implements the 'b' command. It changes the 'b' partition. 75 * This routine implements the 'c' command. It changes the 'c' partition. 86 * This routine implements the 'd' command. It changes the 'd' partition. 97 * This routine implements the 'e' command. It changes the 'e' partition. 108 * This routine implements the 'f' command. It changes the 'f' partition. 119 * This routine implements the 'g' command. It changes the 'g' partition [all...] |
H A D | format.dat | 28 # disks, disk types, and partition maps. 40 #disk_type = "CDC Wren VII 94601-12G" \ 49 #disk_type = "CDC Wren IV 94171-327" \ 64 disk_type = "CDC Wren IV 94171-344" \ 153 # Following is a list of sample partition tables for embedded SCSI disks. 155 partition = "Quantum ProDrive 80S" \ 159 #partition = "CDC Wren VII 94601-12G" \ 160 # : disk = "CDC Wren VII 94601-12G" : ctlr = SCSI \ 163 #partition [all...] |
H A D | init_menus.c | 53 { "disk - select a disk", 56 { "type - select (define) a disk type", 59 { "partition - select (define) a partition table", 62 { "current - describe the current disk", 65 { "format - format and analyze the disk", 68 { "fdisk - run the fdisk program", 71 { "repair - repair a defective sector", 74 { "show - translat [all...] |
/titanic_51/usr/src/grub/grub-0.97/stage2/ |
H A D | disk_io.c | 1 /* disk_io.c - implement abstract BIOS disk input and output */ 3 * GRUB -- GRand Unified Bootloader 102 /* The register ESI should contain the address of the partition to be 103 used for loading a chain-loader when chain-loading the loader. */ 121 /* these are the translated numbers for the open partition */ 139 int buf_drive = -1; 189 slen = ((byte_offset + byte_len + buf_geom.sector_size - 1) in rawread() 200 track = sector - sof in rawread() 597 next_partition(unsigned long drive,unsigned long dest,unsigned long * partition,int * type,unsigned long * start,unsigned long * len,unsigned long * offset,int * entry,unsigned long * ext_offset,unsigned long * gpt_offset,int * gpt_count,int * gpt_size,char * buf) next_partition() argument 1112 int partition = dev & 0xFFFFFF; set_device() local [all...] |
/titanic_51/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.h | 74 (epp->disk_geom.phys_heads * epp->disk_geom.phys_sec) 78 epp->ext_beg_cyl) 85 * Extended partition structure : 86 * +------ [all...] |
/titanic_51/usr/src/uts/common/sys/dktp/ |
H A D | fdisk.h | 41 * BIOS and MS-DOS conventions. 60 * Vista DISKID. Otherwise Vista won't boot from Solaris GRUB in a dual-boot 69 #define MINPSIZE 4 /* minimum number of cylinders in a partition */ 73 * structure to hold the fdisk partition table 78 unsigned char begsect; /* begcyl is a 10-bit number. High 2 bits */ 82 unsigned char endsect; /* endcyl is a 10-bit number. High 2 bits */ 85 uint32_t numsect; /* number of sectors in partition */ 95 #define UNUSED 0 /* Empty Partition */ 96 #define DOSOS12 1 /* DOS partition, 12-bi [all...] |
/titanic_51/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 35 * This program reads the partition table on the specified device and 90 /* XXX - should be in fdisk.h, used by sd as well */ 113 #define VTOC_NOTSUP 2 /* operation not supported - EFI label */ 151 /* Maximum number of digits for a valid partition size */ 154 /* Minimum partition size in cylinders */ 159 "[ -A id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]\n" 160 "[ -b masterboot ]\n" 161 "[ -D id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]\n" 162 "[ -F fdisk_file ] [ - 3076 struct ipart *partition[FD_NUMPART]; global() local [all...] |
/titanic_51/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 45 #include "partition.h" 97 * we just get the active solaris partition. 112 if (get_parts(desc->p.disk, iparts, pname, sizeof (pname)) != 0) { in partition_get_assocs() 127 if (len > 1 && *(pname + (len - 2)) == 'p') { in partition_get_assocs() 129 *(pname + (len - 1)) = 0; in partition_get_assocs() 134 * If this is a slice desc. we need the first active solaris partition in partition_get_assocs() 135 * and if there isn't one then we need the first solaris partition. in partition_get_assocs() 137 if (desc->type == DM_SLICE) { in partition_get_assocs() 159 /* we found a solaris partition to use */ in partition_get_assocs() 173 desc-> in partition_get_assocs() 263 descriptor_t *partition = NULL; partition_get_descriptor_by_name() local [all...] |
/titanic_51/usr/src/boot/sys/boot/common/ |
H A D | disk.c | 1 /*- 57 /* Convert size to a human-readable number. */ 87 od = (struct open_disk *)dev->d_opendata; in ptblread() 94 offset *= (od->sectorsize / 512); in ptblread() 96 * As the GPT backup partition is located at the end of the disk, in ptblread() 99 return (dev->d_dev->dv_strategy(dev, F_READ | F_NORA , offset, in ptblread() 100 blocks * od->sectorsize, (char *)buf, NULL)); in ptblread() 115 od = (struct open_disk *)pa->dev->d_opendat in ptable_print() 222 int rc, slice, partition; disk_open() local 383 int unit, slice, partition; disk_parsedev() local [all...] |
H A D | disk.h | 1 /*- 33 * d_slice = -1 34 * d_partition = -1 39 * d_partition = -1 41 * VTOC disklabel partition within an MBR slice: 44 * d_partition = disklabel partition (typically 0..19) 46 * BSD disklabel partition within an MBR slice: 49 * d_partition = disklabel partition (typically 0..19) 51 * BSD disklabel partition on the true dedicated disk: 53 * d_slice = - [all...] |
/titanic_51/usr/src/uts/common/disp/ |
H A D | cpupart.c | 48 * CPU partitions. cpu_lock protects the CPU partition list, and prevents 52 * pool_lock() ---> cpu_lock ---> pidlock --> p_lock 59 * The cp_default partition i [all...] |
/titanic_51/usr/src/uts/common/sys/ |
H A D | vtoc.h | 51 * its Disk Label, which already has some vtoc-equivalent fields. 72 * Partition identification tags 74 #define V_UNASSIGNED 0x00 /* unassigned partition */ 75 #define V_BOOT 0x01 /* Boot partition */ 80 #define V_STAND 0x06 /* Stand partition */ 81 #define V_VAR 0x07 /* Var partition */ 82 #define V_HOME 0x08 /* Home partition */ 83 #define V_ALTSCTR 0x09 /* Alternate sector partition */ 84 #define V_CACHE 0x0a /* CacheFS partition (obsolete) */ 88 #define V_SYSTEM 0x0c /* EFI/GPT system partition */ 109 struct partition { global() struct 110 p_tagpartition global() argument 112 p_startpartition global() argument 113 p_sizepartition global() argument [all...] |
H A D | dklabel.h | 89 * partition headers: section 1 95 /* partition is undefined */ 99 * partition headers: section 1 100 * Fixed size for on-disk dk_label 105 /* partition is undefined */ 109 * partition headers: section 2, 113 uint16_t p_tag; /* ID tag of partition */ 118 uint16_t p_tag; /* ID tag of partition */ 120 blkaddr32_t p_start; /* start sector no of partition */ 121 blkaddr32_t p_size; /* # of blocks in partition */ [all...] |
H A D | cpupart.h | 48 * Special partition id. 56 #define CP_NONEMPTY 1 /* return only non-empty ones */ 59 disp_t cp_kp_queue; /* partition-wide kpreempt queue */ 60 cpupartid_t cp_id; /* partition ID */ 62 struct cpupart *cp_next; /* next partition in list */ 63 struct cpupart *cp_prev; /* previous partition in list */ 65 struct kstat *cp_kstat; /* per-partition statistics */ 75 * are used to generate kstat information on an as-neede [all...] |
/titanic_51/usr/src/lib/libdladm/common/ |
H A D | libdlib.c | 100 if (iocp->ioc_status == 0) in i_dladm_ib_ioctl() 103 return (dladm_ib_ioctl_err2status(iocp->ioc_status)); in i_dladm_ib_ioctl() 107 * Get the active configuration information for the partition given by 120 * The ioc_linkid here will contain the data link id of the IB partition in i_dladm_part_info_active() 134 attrp->dia_physlinkid = ioc.ibdioc.ioc_linkid; in i_dladm_part_info_active() 135 attrp->dia_partlinkid = ioc.ioc_partid; in i_dladm_part_info_active() 136 attrp->dia_pkey = ioc.ioc_pkey; in i_dladm_part_info_active() 137 attrp->dia_portnum = ioc.ibdioc.ioc_portnum; in i_dladm_part_info_active() 138 attrp->dia_hca_guid = ioc.ibdioc.ioc_hcaguid; in i_dladm_part_info_active() 139 attrp->dia_port_gui in i_dladm_part_info_active() [all...] |
/titanic_51/usr/src/boot/sys/sys/ |
H A D | diskmbr.h | 1 /*- 47 #define DOSPTYP_EXT 0x05 /* DOS extended partition */ 48 #define DOSPTYP_FAT16 0x06 /* FAT16 partition */ 49 #define DOSPTYP_NTFS 0x07 /* NTFS partition */ 50 #define DOSPTYP_FAT32 0x0b /* FAT32 partition */ 51 #define DOSPTYP_EXTLBA 0x0f /* DOS extended partition */ 52 #define DOSPTYP_PPCBOOT 0x41 /* PReP/CHRP boot partition */ 53 #define DOSPTYP_LDM 0x42 /* Win2k dynamic extended partition */ 54 #define DOSPTYP_LINSWP 0x82 /* Linux swap partition */ 55 #define DOSPTYP_LINUX 0x83 /* Linux partition */ [all...] |
/titanic_51/usr/src/man/man7d/ |
H A D | ssd.7d | 8 ssd \- Fibre Channel Arbitrated Loop disk device driver 27 The block-files access the disk using the system's normal buffering mechanism 42 Partition 0 is normally used for the root file system on a disk, with partition 43 1 as a paging area (for example, \fBswap\fR). Partition 2 is used to back up 44 the entire disk. Partition 2 normally maps the entire disk and may also be used 46 normally partition 6. For the primary disk, the user file system is located 57 for that device. For each device/partition, the driver accumulates reads, 58 writes, bytes read, and bytes written. The driver also initiates hi-resolution 60 time and cumulative residence-lengt [all...] |
/titanic_51/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 62 * partition as well; this will allow to have real MBR sector to be 70 * which is 512k bytes from partition start and size is 3.5MB. 73 * Solaris2 MBR partition start, within boot slice, boot slice size is 77 * of the disk, filling the space between MBR and first partition. 79 * as first partition is starting from cylinder 1. 82 * support is only possible with dedicated boot partition. For GPT, 83 * the current implementation is using BOOT partition, which must exist. 84 * BOOT partition does only contain raw boot blocks, without any file system. 89 * actual block end, so the EINFO size is (file size - load_end_addr). 90 * installboot does also store the illumos boot partition LB [all...] |
/titanic_51/usr/src/man/man4/ |
H A D | format.dat.4 | 8 format.dat \- disk drive configuration for the format command 32 partition tables. 140 True SCSI (CCS or SCSI-2) 146 \fBISP-80\fR 158 ('*') indicates the identifier is mandatory for that controller -- it is not 262 These identifiers are for SCSI and MD-21 Controllers 287 page 3 bytes 18-19 (cylinder skew) 296 page 3 bytes 16-17 (track skew) 305 page 3 bytes 2- [all...] |