Home
last modified time | relevance | path

Searched full:disk (Results 1 – 25 of 1240) sorted by relevance

12345678910>>...50

/third_party/gptfdisk/
Dsgdisk.830 want to make one or two quick changes to a disk. (The program may query the
35 Ordinarily, \fBsgdisk\fR operates on disk device files, such as
38 can also operate on disk image files, which can be either copies of whole
39 disks (made with \fBdd\fR, for instance) or raw disk images used by
40 emulators such as QEMU or VMWare. Note that only \fIraw\fR disk images
42 disk image formats.
53 partitions with the Mac OS X Disk Utility program and Linux partitions
57 the disk. If it finds valid GPT data, \fBsgdisk\fR will use it. If
69 partition type codes may become corrupted if the disk uses unrecognized
108 If Windows is to boot from a GPT disk, a partition of type \fIMicrosoft
[all …]
Dgdisk.836 modify disk structures until you explicitly write them to disk, so if you
40 Ordinarily, \fBgdisk\fR operates on disk device files, such as
43 can also operate on disk image files, which can be either copies of whole
44 disks (made with \fBdd\fR, for instance) or raw disk images used by
45 emulators such as QEMU or VMWare. Note that only \fIraw\fR disk images
47 disk image formats.
59 partitions with the Mac OS X Disk Utility program and Linux partitions
63 the disk. If it finds valid GPT data, \fBgdisk\fR will use it. If
72 may become corrupted if the disk uses unrecognized type codes. Boot
74 GPT\-unaware OS. If you mistakenly launch \fBgdisk\fR on an MBR disk, you
[all …]
Dcgdisk.834 modify disk structures until you explicitly write them to disk, so if you
38 Ordinarily, \fBcgdisk\fR operates on disk device files, such as
41 can also operate on disk image files, which can be either copies of whole
42 disks (made with \fBdd\fR, for instance) or raw disk images used by
43 emulators such as QEMU or VMWare. Note that only \fIraw\fR disk images
45 disk image formats.
48 the disk. If it finds valid GPT data, \fBcgdisk\fR will use it. If
55 type codes may become corrupted if the disk uses unrecognized type codes.
57 GPT\-unaware OS. If you mistakenly launch \fBcgdisk\fR on an MBR disk, you
88 If Windows is to boot from a GPT disk, a partition of type \fIMicrosoft
[all …]
Dfixparts.820 behind on a disk that was once used as a GPT disk but then incompletely
26 extend beyond the physical end of the disk or that overlap with nearby
28 repair occurs automatically, so if it's the only problem with your disk,
55 These partitions are defined in the first sector of the hard disk and
66 A disk can contain an arbitrary number of logical partitions
76 arbitrarily interspersed. A disk can contain one to three primary
84 Unlike most disk utilities, \fBfixparts\fR' user interface ignores extended
102 disk looks like a conventional GPT disk, \fBfixparts\fR refuses to run. If
103 the disk appears to be a conventional MBR disk but GPT signatures are
180 match their on-disk positions, which can make understanding the disk layout
[all …]
DNEWS5 to read the disk's partition table when compiled with the latest popt
30 - Changes to optimize disk handling, particularly on Windows, courtesy of
57 to use a too-small disk image); program now aborts if this happens.
129 - Fixed bug that could cause a crash if a badly-formatted MBR disk was
214 more information on what data structures are damaged when a damaged disk
239 when creating a new partition table (that is, partitioning a blank disk or
245 - On Linux, the p/-p/--print command now shows the disk's model name, as
249 when accessing disk image files, even on Linux.
264 else on the disk. The main reason I know of to do this is if the disk is
314 this feature when gdisk detects that it can't write to the disk under OS
[all …]
Ddiskio-windows.cc4 // Description: Class to handle low-level disk I/O for GPT fdisk
88 // Close the disk, in case it's already open for reading only.... in OpenForWrite()
113 // Close the disk device. Note that this does NOT erase the stored filenames,
125 // returns an error condition, assume it's a disk file and return a value of
126 // SECTOR_SIZE (512). If the disk can't be opened at all, return a value of 0.
131 // If disk isn't open, try to open it.... in GetBlockSize()
167 // Resync disk caches so the OS uses the new partition table. This code varies
175 // If disk isn't open, try to open it.... in DiskSync()
182 cout << "Disk synchronization failed! The computer may use the old partition table\n" in DiskSync()
183 << "until you reboot or remove and re-insert the disk!\n"; in DiskSync()
[all …]
DREADME.md7 This package includes the source code for four related disk partitioning
70 disk
78 access up to three GPT partitions on the disk (gdisk and sgdisk only)
90 use in scripts to help automate tasks such as disk cloning or preparing
101 Typically, the symptom is a disk that appears to hold no partitions;
108 * Old GPT data -- If a disk is used as a GPT disk and then re-used as an
109 MBR disk, the GPT data may be incompletely erased. This happens if the
110 disk is repartitioned with fdisk or the Microsoft Windows installer, for
118 that's too large, typically ending after the last sector of the disk.
130 * Leftover RAID data -- If a disk is used in a RAID array and then re-used
[all …]
DREADME.Windows6 Most versions of Windows cannot boot from a GPT disk on BIOS-based
12 GPT fdisk on a BIOS-mode boot disk, or perhaps even on a data disk, you may
55 won't be able to edit hard disk partition tables, although you will be able
56 to edit raw disk image files.
58 The program requires a hard disk identifier as an option. You can specify
65 on the first disk. The second way to specify a disk device is via a
71 table on the first physical disk. Change the number at the end of the
72 device name to change the disk edited.
74 If you pass the "-l" option to gdisk64.exe in addition to the disk
78 the disk when used in this way.
[all …]
Ddiskio-unix.cc4 // Description: Class to handle low-level disk I/O for GPT fdisk
124 // Close the disk, in case it's already open for reading only.... in OpenForWrite()
146 // Close the disk device. Note that this does NOT erase the stored filenames,
158 // (512). If the disk can't be opened at all, return a value of 0.
165 // If disk isn't open, try to open it.... in GetBlockSize()
188 // ENOTTY = inappropriate ioctl; probably being called on a disk image in GetBlockSize()
195 cout << "Disk device is " << realFilename << "\n"; in GetBlockSize()
209 // If disk isn't open, try to open it.... in GetPhysBlockSize()
232 // If disk isn't open, try to open it.... in GetNumHeads()
250 // If disk isn't open, try to open it.... in GetNumSecsPerTrack()
[all …]
Dgpt.cc254 << "problems. Think carefully before saving changes with 'w' or using this disk.\n"; in Verify()
260 << "at the end of the disk. If you've added a disk to a RAID array, use the 'e'\n" in Verify()
294 cout << "\nProblem: main header's disk GUID (" << mainHeader.diskGUID in Verify()
295 << ") doesn't\nmatch the backup GPT header's disk GUID (" in Verify()
318 // Check that the disk size will hold the data... in Verify()
321 cout << "\nProblem: Disk is too small to hold all the data!\n" in Verify()
322 << "(Disk size is " << diskSize << " sectors, needs to be " in Verify()
335 cout << "\nProblem: Main partition table appears impossibly early on the disk.\n" in Verify()
375 cout << "\nProblem: GPT claims the disk is larger than it is! (Claimed last usable\n" in Verify()
377 << mainHeader.backupLBA << " and disk size is " << diskSize << " sectors.\n" in Verify()
[all …]
Dgdisk_test.sh20 # Requires: coreutils (mktemp, dd) and 64M of disk space in /tmp (temp dd disk)
47 # temp disk for testing gdisk
98 # Get GUID of disk
101 DISK_GUID=$($GDISK_BIN -l $TEMP_DISK | grep "^Disk identifier (GUID):" | awk '{print $4}')
295 # Change UID of disk
299 # get UID of disk before changing it
325 pretty_print "SUCCESS" "GUID of disk has been sucessfully changed"
327 pretty_print "FAILED" "GUID of disk is the same as the previous one"
375 pretty_print "SUCCESS" "Temp disk sucessfully created"
377 pretty_print "FAILED" "Unable to create temp disk !"
/third_party/ltp/testscripts/
Dautofs1.sh27 # 1) System with a floppy device with a floppy disk in it.
28 # 2) A spare (scratch) disk partition of 100MB or larger.
36 # - Added an additional error message if a floppy disk is not present
114 echo "Insert a disk into the floppy drive"
194 # (3) Automount the floppy disk
220 echo "/AUTOFS/DISK /etc/auto.disk" >> /etc/auto.master
221 echo "disk -fstype=auto,rw,sync :$disk_partition " > /etc/auto.disk
228 mkdir /AUTOFS/DISK/disk/test
229 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test
235 if [ -e /AUTOFS/DISK/disk/test ]; then
[all …]
Dautofs4.sh27 # 1) System with a floppy device with a floppy disk in it.
28 # 2) A spare (scratch) disk partition of 100MB or larger.
185 # (3) Automount the floppy disk
209 echo "/AUTOFS/DISK /etc/auto.disk " >> /etc/auto.master
210 echo "disk -fstype=ext2 :$disk_partition " > /etc/auto.disk
215 mkdir /AUTOFS/DISK/disk/test
216 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test
221 cd /AUTOFS/DISK/disk/test
222 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1
226 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
[all …]
/third_party/curl/packages/vms/
Dbuild_gnv_curl_release_notes.com38 $ curl_readme = f$search("sys$disk:[--]readme.")
41 $ curl_readme = f$search("sys$disk:[--]$README.")
49 $ curl_copying = f$search("sys$disk:[--]copying.")
52 $ curl_copying = f$search("sys$disk:[--]$COPYING.")
60 $ vms_readme = f$search("sys$disk:[]readme.")
63 $ vms_readme = f$search("sys$disk:[]$README.")
71 $ curl_release_notes = f$search("sys$disk:[--]release-notes.")
74 $ curl_release_notes = f$search("sys$disk:[--]$RELEASE-NOTES.")
82 $ if f$search("sys$disk:[]hp_ssl_release_info.txt") .eqs. ""
90 sys$disk:[]curl_release_note_start.txt, -
[all …]
/third_party/littlefs/bd/
Dlfs_emubd.c132 bd->disk = NULL; in lfs_emubd_create()
135 bd->disk = malloc(sizeof(lfs_emubd_disk_t)); in lfs_emubd_create()
136 if (!bd->disk) { in lfs_emubd_create()
140 bd->disk->rc = 1; in lfs_emubd_create()
141 bd->disk->scratch = NULL; in lfs_emubd_create()
144 bd->disk->fd = open(bd->cfg->disk_path, in lfs_emubd_create()
147 bd->disk->fd = open(bd->cfg->disk_path, in lfs_emubd_create()
150 if (bd->disk->fd < 0) { in lfs_emubd_create()
159 bd->disk->scratch = malloc(bd->cfg->erase_size); in lfs_emubd_create()
160 if (!bd->disk->scratch) { in lfs_emubd_create()
[all …]
/third_party/libwebsockets/include/libwebsockets/
Dlws-diskcache.h25 /*! \defgroup diskcache LWS disk cache
26 * ## Disk cache API
28 * Lws provides helper apis useful if you need a disk cache containing hashed
37 * an opaque struct that represents the disk cache.
64 * lws_diskcache_create() - creates an opaque struct representing the disk cache
67 * \param cache_size_limit: maximum size on disk the cache is allowed to use
70 * disk cache, the trim scanning state and so on. You should use
88 * lws_diskcache_prepare() - ensures the cache dir structure exists on disk
95 * the cache directory structure on disk as necessary, enforce the given access
111 * lws_diskcache_query() - ensures the cache dir structure exists on disk
[all …]
/third_party/ltp/testcases/kernel/syscalls/quotactl/
Dquotactl08.c12 * - set disk quota limits with Q_SETQUOTA flag for user
13 * - get disk quota limits with Q_GETQUOTA flag for user
18 * - get disk quota limit greater than or equal to ID with Q_GETNEXTQUOTA flag for user
21 * - set disk quota limits with Q_SETQUOTA flag for group
22 * - get disk quota limits with Q_GETQUOTA flag for group
27 * - get disk quota limit greater than or equal to ID with Q_GETNEXTQUOTA flag for group
79 NULL, NULL, 0, "set disk quota limit for user",
84 sizeof(res_dq.dqb_bsoftlimit), "get disk quota limit for user",
107 "get next disk quota limit for user",
119 NULL, NULL, 0, "set disk quota limit for group",
[all …]
Dquotactl01.c14 * - set disk quota limits with Q_SETQUOTA flag for user
15 * - get disk quota limits with Q_GETQUOTA flag for user
20 * - get disk quota limit greater than or equal to ID with Q_GETNEXTQUOTA flag for user
23 * - set disk quota limits with Q_SETQUOTA flag for group
24 * - get disk quota limits with Q_GETQUOTA flag for group
29 * - get disk quota limit greater than or equal to ID with Q_GETNEXTQUOTA flag for group
79 NULL, NULL, 0, "set disk quota limit for user",
84 sizeof(res_dq.dqb_bsoftlimit), "get disk quota limit for user",
107 "get next disk quota limit for user",
119 NULL, NULL, 0, "set disk quota limit for group",
[all …]
/third_party/openssl/VMS/
DVMSify-conf.pl20 $_ = "$1sys\\\$disk:\[.$2$3";
22 $_ = "$1sys\\\$disk:\[.$2$3";
25 while(/^(\s*\#?\s*${d}\s*=\s*(\$\w+\.|sys\\\$disk:\[\.)[\w\.]+)\/([^\]]*)\](.*)$/) {
30 s/^(\s*\#?\s*${f}\s*=\s*)\.\/(.*)$/$1sys\\\$disk:\[\/$2/;
31 while(/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+\/[^\s\#]*)([\s\#].*)$/) {
34 if (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+)([\s\#].*)$/) {
36 } elsif (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/([^\s\#]*)([\s\#].*)$/) {
/third_party/node/deps/openssl/openssl/VMS/
DVMSify-conf.pl20 $_ = "$1sys\\\$disk:\[.$2$3";
22 $_ = "$1sys\\\$disk:\[.$2$3";
25 while(/^(\s*\#?\s*${d}\s*=\s*(\$\w+\.|sys\\\$disk:\[\.)[\w\.]+)\/([^\]]*)\](.*)$/) {
30 s/^(\s*\#?\s*${f}\s*=\s*)\.\/(.*)$/$1sys\\\$disk:\[\/$2/;
31 while(/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+\/[^\s\#]*)([\s\#].*)$/) {
34 if (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+)([\s\#].*)$/) {
36 } elsif (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/([^\s\#]*)([\s\#].*)$/) {
/third_party/f2fs-tools/fsck/
Dquotaio_tree.h45 /* Convert given entry from in memory format to disk one */
46 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot);
47 /* Convert given entry from disk format to in memory one */
48 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk);
50 int (*is_id)(void *disk, struct dquot *dquot);
66 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
/third_party/rust/crates/nix/src/sys/
Dquota.rs1 //! Set and configure disk quotas for users, groups, or projects.
84 /// The disk use time limit field.
121 /// The absolute limit on disk quota blocks allocated.
132 /// Set the absolute limit on disk quota blocks allocated.
137 /// Preferred limit on disk quota blocks
148 /// Set the preferred limit on disk quota blocks allocated.
207 /// Time limit for excessive disk use.
218 /// Set the time limit for excessive disk use.
259 /// Turn on disk quotas for a block device.
278 /// Disable disk quotas for a block device.
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dntfsresize.8.in32 (usually a disk partition). The new filesystem will fit in a DEVICE
46 conforms to the SI, ATA, IEEE standards and the disk manufacturers
59 and the partition by editing the partition table on the disk. Similarly to
63 to do that you must use a disk partitioning tool as well, for example
100 When recreating the partition by a disk partitioning tool,
109 computer from the disk.
223 from the command line. If the disk guarantee is still valid then replace it.
228 This option doesn't have any effect if the disk is flawless.
267 Moreover after repartitioning your disk and depending on the
272 The disk geometry handling semantic (HDIO_GETGEO ioctl) has changed
[all …]
Dntfsclone.8.in30 It works at disk sector level and
31 copies only the used data. Unused disk space becomes zero (cloning to
33 left unchanged (cloning to a disk/partition) or
54 computer, or to a different disk or partition (e.g. hda1\->hda2, hda1\->hdb1
55 or to a different disk sector offset) then you will need to take extra care.
59 of disk having the same BIOS legacy cylinder setting as the original
60 partition and disk had.
69 such files are always higher than the disk space consumed by them. The
71 command can tell the real disk space used by a sparse file.
92 files efficiently during uncompression from disk space usage point
[all …]
/third_party/NuttX/fs/driver/
Dfs_openblockdriver.c29 #include "disk.h"
67 los_disk *disk = NULL; in open_blockdriver() local
102 disk = get_disk(part->disk_id); in open_blockdriver()
103 if (disk == NULL) in open_blockdriver()
109 if (pthread_mutex_lock(&disk->disk_mutex) != ENOERR) in open_blockdriver()
114 if (disk->disk_status == STAT_INUSED) in open_blockdriver()
123 (void)pthread_mutex_unlock(&disk->disk_mutex); in open_blockdriver()
129 if (pthread_mutex_unlock(&disk->disk_mutex) != ENOERR) in open_blockdriver()

12345678910>>...50