Home
last modified time | relevance | path

Searched +full:partition +full:- (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/illumos-gate/usr/src/man/man8/
H A Dfdisk.89 fdisk \- create or modify fixed disk partition table
13 \fBfdisk\fR [\fB-o\fR \fIoffset\fR] [\fB-s\fR \fIsize\fR] [\fB-P\fR \fIfill_patt\fR] [\fB-S\fR \fIg…
14 …[\fB-w\fR | \fB-r\fR | \fB-d\fR | \fB-n\fR | \fB-I\fR | \fB-B\fR | \fB-t\fR | \fB-T\fR | \fB-g\fR …
15 [-\fB-F\fR \fIfdisk_file\fR] [ [\fB-v\fR] \fB-W\fR {\fIfdisk_file\fR | \(mi}]
16 [\fB-h\fR] [\fB-b\fR \fImasterboot\fR]
17 …[\fB-A\fR \fIid\fR : \fIact\fR : \fIbhead\fR : \fIbsect\fR : \fIbcyl\fR : \fIehead\fR : \fIesect\f…
19 …[\fB-D\fR \fIid\fR : \fIact\fR : \fIbhead:\fR \fIbsect\fR : \fIbcyl\fR : \fIehead:\fR \fIesect\fR :
21 [\fB-E\fR [\fIslot\fR : \fIactive\fR]]
32 Create and modify an \fBfdisk\fR partition table on x86 systems
38 Create and modify an \fBfdisk\fR partition table on removable media on SPARC or
[all …]
H A Dfmthard.864 .Sq partition
69 partition on x86 machines.
76 .Bl -tag -width Ds
81 for a particular partition in the current
87 is the partition number,
91 TAG of the partition,
95 is the starting sector number of the partition, and
97 is the number of sectors in the partition.
126 This option causes all of the disk partition timestamp fields to be set
133 will also have partition 2, by convention, that corresponds to the whole disk.
[all …]
H A Dinstallboot.819 .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
43 raw-device
47 .Ar raw-device | Ar file
51 .Ar raw-device attach-raw-device
67 .Bl -tag -width Ds
72 and partition boot program.
85 which is always installed at least on partition
[all …]
/illumos-gate/usr/src/boot/efi/include/Uefi/
H A DUefiGpt.h2 EFI Guid Partition Table Format Definition.
4 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
13 /// The primary GUID Partition Table Header must be
18 /// EFI Partition Table Signature: "EFI PART".
29 /// GPT Partition Table Header.
33 /// The table header for the GPT partition Table.
42 /// LBA address of the alternate GUID Partition Table Header.
47 /// by a partition described by a GUID Partition Entry.
52 /// by a partition described by a GUID Partition Entry.
[all …]
/illumos-gate/usr/src/man/man4i/
H A Ddkio.4i34 requests for disk controller, geometry, and partition information.
44 .Bl -tag -width 1n
50 This structure contains the controller-type and attributes regarding bad-block
52 .Bd -literal -offset 2n
73 ushort_t dki_partition; /* partition number */
82 #define DKC_CDROM 1 /* CD-ROM, SCSI or other */
97 #define DKC_PCMCIA_MEM 21 /* PCMCIA memory disk-like */
122 #define DKI_PCMCIA_PFD 0x40 /* PCMCIA pseudo-floppy */
132 gets the controller's notion of the current partition table
141 sets the controller's notion of the partition table without
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dpartition.c28 * This file contains functions that operate on partition tables.
33 #include "partition.h"
40 * Default vtoc information for non-SVr4 partitions
43 { V_ROOT, 0 }, /* a - 0 */
44 { V_SWAP, V_UNMNT }, /* b - 1 */
45 { V_BACKUP, V_UNMNT }, /* c - 2 */
46 { V_UNASSIGNED, 0 }, /* d - 3 */
47 { V_UNASSIGNED, 0 }, /* e - 4 */
48 { V_UNASSIGNED, 0 }, /* f - 5 */
49 { V_USR, 0 }, /* g - 6 */
[all …]
H A Dmodify_partition.c27 * This file contains functions to implement the partition menu commands.
32 #include "partition.h"
54 * Modify/Create a predefined partition table.
60 struct dk_map32 *map = tmp_pinfo->pinfo_map; in p_modify()
63 int free_hog = -1; in p_modify()
74 return (-1); in p_modify()
78 * check if there exists a partition table for the disk. in p_modify()
81 err_print("Current Disk has no partition table.\n"); in p_modify()
82 return (-1); in p_modify()
89 if (checkmount((diskaddr_t)-1, (diskaddr_t)-1)) { in p_modify()
[all …]
H A Dmenu_partition.c26 * This file contains functions to implement the partition menu commands.
32 #include "partition.h"
42 * This routine implements the 'a' command. It changes the 'a' partition.
53 * This routine implements the 'b' command. It changes the 'b' partition.
64 * This routine implements the 'c' command. It changes the 'c' partition.
75 * This routine implements the 'd' command. It changes the 'd' partition.
86 * This routine implements the 'e' command. It changes the 'e' partition.
97 * This routine implements the 'f' command. It changes the 'f' partition.
108 * This routine implements the 'g' command. It changes the 'g' partition.
119 * This routine implements the 'h' command. It changes the 'h' partition.
[all …]
H A Dformat.dat26 # disks, disk types, and partition maps.
38 #disk_type = "CDC Wren VII 94601-12G" \
47 #disk_type = "CDC Wren IV 94171-327" \
62 disk_type = "CDC Wren IV 94171-344" \
151 # Following is a list of sample partition tables for embedded SCSI disks.
153 partition = "Quantum ProDrive 80S" \
157 #partition = "CDC Wren VII 94601-12G" \
158 # : disk = "CDC Wren VII 94601-12G" : ctlr = SCSI \
161 #partition = "CDC Wren IV 94171-327" \
162 # : disk = "CDC Wren IV 94171-327" : ctlr = SCSI \
[all …]
H A Dinit_menus.c51 { "disk - select a disk",
54 { "type - select (define) a disk type",
57 { "partition - select (define) a partition table",
60 { "current - describe the current disk",
63 { "format - format and analyze the disk",
66 { "fdisk - run the fdisk program",
69 { "repair - repair a defective sector",
72 { "show - translate a disk address",
75 { "label - write label to the disk",
78 { "analyze - surface analysis",
[all …]
/illumos-gate/usr/src/boot/common/
H A Ddisk.c58 /* Convert size to a human-readable number. */
88 od = (struct open_disk *)dev->dd.d_opendata; in ptblread()
95 offset *= (od->sectorsize / 512); in ptblread()
97 * As the GPT backup partition is located at the end of the disk, in ptblread()
100 return (dev->dd.d_dev->dv_strategy(dev, F_READ | F_NORA, offset, in ptblread()
101 blocks * od->sectorsize, (char *)buf, NULL)); in ptblread()
117 od = (struct open_disk *)pa->dev->dd.d_opendata; in ptable_print()
118 sectsize = od->sectorsize; in ptable_print()
119 partsize = part->end - part->start + 1; in ptable_print()
120 snprintf(line, sizeof (line), " %s%s: %s", pa->prefix, pname, in ptable_print()
[all …]
H A Ddisk.h41 * VTOC disklabel partition within an MBR slice:
44 * d_partition = disklabel partition (typically 0..19 or D_PARTWILD)
46 * BSD disklabel partition within an MBR slice:
49 * d_partition = disklabel partition (typically 0..19 or D_PARTWILD)
51 * BSD disklabel partition on the true dedicated disk:
54 * d_partition = disklabel partition (typically 0..19 or D_PARTWILD)
56 * GPT partition:
58 * d_slice = GPT partition number (typically 1..N)
62 * partition within the slice.
64 * For both MBR and GPT, to automatically find the 'best' slice and partition,
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c1 /* disk_io.c - implement abstract BIOS disk input and output */
3 * GRUB -- GRand Unified Bootloader
103 /* The register ESI should contain the address of the partition to be
104 used for loading a chain-loader when chain-loading the loader. */
122 /* these are the translated numbers for the open partition */
142 int buf_drive = -1;
192 slen = ((byte_offset + byte_len + buf_geom.sector_size - 1) in rawread()
203 track = sector - soff; in rawread()
204 num_sect = sectors_per_vtrack - soff; in rawread()
273 if (size > ((num_sect << sector_size_bits) - byte_offset)) in rawread()
[all …]
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.h74 (epp->disk_geom.phys_heads * epp->disk_geom.phys_sec)
78 epp->ext_beg_cyl)
85 * Extended partition structure :
86 * +--------------+
87 * |+--+ |
88 * || |----------+---> structure at the beginning of the extended partition
89 * ||--| | ( Lets call it the EBR - Extended Boot Record )
90 * || | +---+--->
91 * |+--+ | | Logical drive within the extended partition
92 * |+---------+--+| ( We will plainly call this a logical drive )
[all …]
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c36 * This program reads the partition table on the specified device and
101 #define VTOC_NOTSUP 2 /* operation not supported - EFI label */
139 /* Maximum number of digits for a valid partition size */
142 /* Minimum partition size in cylinders */
147 "[ -A id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]\n"
148 "[ -b masterboot ]\n"
149 "[ -D id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]\n"
150 "[ -E [slot:active] ]\n"
151 "[ -F fdisk_file ] [ -h ] [ -o offset ] [ -P fill_patt ] [ -s size ]\n"
152 "[ -S geom_file ] [ [ -v ] -W { creat_fdisk_file | - } ]\n"
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dfdisk.h41 * 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-bit FAT */
97 #define PCIXOS 2 /* PC/IX partition */
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c45 #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->p.disk, part_name, desc->secondary_name, in partition_get_assocs()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dcpupart.c51 * CPU partitions. cpu_lock protects the CPU partition list, and prevents
55 * pool_lock() ---> cpu_lock ---> pidlock --> p_lock
62 * The cp_default partition is allocated statically, but its lgroup load average
87 * A processor set is a user-level abstraction allowing users to create
89 * partition is a kernel dispatcher object consisting of a set of CPUs
91 * implemented via a CPU partition, and currently there is a 1-1
93 * partition, which is not visible as a processor set). Hence, the
105 * Find a CPU partition given a processor set ID.
115 /* default partition not visible as a processor set */ in cpupart_find_all()
120 return (curthread->t_cpupart); in cpupart_find_all()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dvtoc.h51 * 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 */
[all …]
H A Ddklabel.h89 * 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 Dcpupart.h49 * Special partition id.
57 #define CP_NONEMPTY 1 /* return only non-empty ones */
60 disp_t cp_kp_queue; /* partition-wide kpreempt queue */
61 cpupartid_t cp_id; /* partition ID */
63 struct cpupart *cp_next; /* next partition in list */
64 struct cpupart *cp_prev; /* previous partition in list */
66 struct kstat *cp_kstat; /* per-partition statistics */
76 * are used to generate kstat information on an as-needed basis.
85 /* partition has cpus */
87 /* partition, indexed by lgrp ID */
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlib.c100 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_guid = ioc.ibdioc.ioc_portguid; in i_dladm_part_info_active()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Ddiskmbr.h1 /*-
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 …]
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c96 * Default vtoc information for non-SVr4 partitions
99 { V_ROOT, 0 }, /* a - 0 */
100 { V_SWAP, V_UNMNT }, /* b - 1 */
101 { V_BACKUP, V_UNMNT }, /* c - 2 */
102 { V_UNASSIGNED, 0 }, /* d - 3 */
103 { V_UNASSIGNED, 0 }, /* e - 4 */
104 { V_UNASSIGNED, 0 }, /* f - 5 */
105 { V_USR, 0 }, /* g - 6 */
106 { V_UNASSIGNED, 0 }, /* h - 7 */
111 { V_BOOT, V_UNMNT }, /* i - 8 */
[all …]
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dinternals.texi4 This chapter documents the user-invisible aspect of GRUB.
7 descriptions of the internals up-to-date, and it is quite hard to
16 * Command interface:: The generic interface for built-ins
20 * Low-level disk I/O:: INT 13H disk I/O interrupts
22 * Partition table:: The format of partition tables
32 mutual-exclusively, sometimes a memory area overlaps with another
39 @item 0 to 4K-1
43 Partition table passed to another boot loader
45 @item down from 8K-1
52 Command-line buffer for Multiboot kernels and modules
[all …]

12345678910>>...20