| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Any existing config files (using the -f option) will need
to be changed although using the old files will usually result
in an error (partition 0 is invalid).
|
|
|
|
| |
No more 241MB 4+ gig partitions for me!
|
|
|
|
|
|
| |
a BIOS-like partition table. We now detect this correctly and print the
right thing.
Obtained from: Value obtained from OpenBSD sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the sd & od drivers. There is also slight changes to fdisk & newfs
in order to comply with different sectorsizes.
Currently sectors of size 512, 1024 & 2048 are supported, the only
restriction beeing in fdisk, which hunts for the sectorsize of
the device.
This is based on patches to od.c and the other system files by
John Gumb & Barry Scott, minor changes and the sd.c patches by
me.
There also exist some patches for the msdos filesys code, but I
havn't been able to test those (yet).
John Gumb (john@talisker.demon.co.uk)
Barry Scott (barry@scottb.demon.co.uk)
|
|
|
|
|
|
|
| |
utility for front-ending its operation more of a possibility.
2.2-RELEASE candiate. Closes PR#1960
Submitted-By: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the partition. Only if the size is 0 should the
special handling of 0 as first argument be triggered.
[This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.]
The init_sector0 function needs to decrease the first argument
to the second call to dos() by one to be consistent with the
calls to dos() in change_part().
[This bug caused fdisk -i to create bogus partition tables with
the ending C/H/S value 1 too high. This usually gives S = 1
instead of S = maximum, so the geometry guessing in the slice
code and perhaps in SCSI BIOSes was defeated.]
Submitted by: Tor Egge <tegge@itea.ntnu.no>
|
|
|
|
|
|
| |
if statements, #if 0 some unused code, use off_t in calls to read/
write_disk, fix a printf format, remove unused variables, and
#include necessary files.
|
| |
|
| |
|
|
|
|
|
| |
and the error message confuses the user.
(just commented out foe now)
|
|
|
|
|
|
|
|
|
|
|
|
| |
/dev/rfoo0d.
Scan a list of devices instead of insisting on all the world
being wd0.
Allow for disk names to be specified (e.g. `sd0') instead of full
path names only.
Sync the man page with the reality.
|
| |
|
| |
|
|
|
|
| |
Submitted by: remy
|
|
|
|
|
| |
number for the partition to be made active. Do nothing instead. This
allows clearing all the active flags by specifying an invalid partition.
|
|
|
|
|
|
|
| |
Convert absolute sector 0 to C/H/S 0/0/0, not 0/0/1.
Open in O_RDWR mode for the undocumented -a option, so that -a can be
used without -u.
|
|
|
|
|
|
|
|
| |
device driver cannot supply a label (real or faked). This allows
you to practice using fdisk on disposable media (e.g., "dd count=1
<dev/zero >/tmp/junk; fdisk /tmp/junk", "dd count=1 </etc/passwd
>/tmp/fix-up-the-mess; fdisk /tmp/fix-up-the-mess") and allows me
to test DOSpartitioning and labelling on floppies.
|
| |
|
|
|
|
|
|
| |
fdisk. It was missing the disk argument.
From: Andreas Schulz <ats@g386bsd.first.gmd.de>
|
| |
|
|
|