Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
d64ada50 |
| 30-Dec-2002 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing.
|
#
f353c761 |
| 29-Dec-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make fdisk work on active GEOM devices.
|
#
a8ad364a |
| 27-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fix the regexp evilness so that fdisk can (again?) find the device root is on from the root mount path.
Spotted by: imp
|
#
8b4d099d |
| 27-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't attempt to find the geometry with disklabel based ioctl, it just issues a useless warning now.
|
Revision tags: release/4.7.0_cvs |
|
#
3bb24c35 |
| 01-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1:
Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h.
These two new copies are still intact copies of diskl
Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1:
Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h.
These two new copies are still intact copies of disklabel.h and therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them in programs which already include <sys.disklabel.h> is currently a no-op.
This commit adds a number of such #includes.
Once I have verified that I have fixed all the places which need fixing, I will commit the updated versions of the three #include files.
Sponsored by: DARPA & NAI Labs.
show more ...
|
#
7963fae6 |
| 20-Sep-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Straighten out get_params().
Sponsored by: DARPA & NAI Labs.
|
#
3f8ba8b5 |
| 15-Sep-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Try to pick up disk geometry with specific DIOC* ioctls, rather than expecting a bogo-disklabel to contain them, if possible.
This makes fdisk work with GEOM.
|
#
ce66ddb7 |
| 21-Aug-2002 |
Tom Rhodes <trhodes@FreeBSD.org> |
s/filesystem/file system/g as discussed on -developers
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1 |
|
#
689fee87 |
| 17-Jul-2002 |
Bruce Evans <bde@FreeBSD.org> |
Fixed some print format errors. Avoid some warnings about possible (but not actual) alignment problems. Both of these bugs were detected on ia64's and were fatal on ia64's due to premature setting
Fixed some print format errors. Avoid some warnings about possible (but not actual) alignment problems. Both of these bugs were detected on ia64's and were fatal on ia64's due to premature setting of WARNS to 4.
show more ...
|
Revision tags: release/4.6.0_cvs |
|
#
29ea697d |
| 01-May-2002 |
Peter Wemm <peter@FreeBSD.org> |
Add a hack so that fdisk(8) can initialize an ia64 disk. There is no /boot/mbr to read the boot code from (ia64 does not *have* bootblocks!). fdisk depended on magic in the /boot/mbr file to initial
Add a hack so that fdisk(8) can initialize an ia64 disk. There is no /boot/mbr to read the boot code from (ia64 does not *have* bootblocks!). fdisk depended on magic in the /boot/mbr file to initialize some fields.
show more ...
|
#
1254a3ba |
| 28-Apr-2002 |
Greg Lehey <grog@FreeBSD.org> |
Add partition type for IBM's JFS.
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
|
#
05a213f1 |
| 18-Apr-2002 |
Tom Rhodes <trhodes@FreeBSD.org> |
Fix the fdisk(8) manual page. s/partition/slice/ in fdisk.8 fix a bug in fdisk(8) where it did not honer -t when using -I
PR: 36563 and 35688 Submitted by: bde Reviewed by: bde
|
#
041b8b00 |
| 29-Mar-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Get this to WARNS=4 and closer to style(9) at a sacrifice in linelength.
|
#
978d3bfe |
| 18-Feb-2002 |
Josef Karthauser <joe@FreeBSD.org> |
Add some more partition types.
PR: i386/14793 MFC after: 3 days
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
881c9063 |
| 30-Dec-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
Oops, the arguments to a bcopy() were reversed, which broke zeroing of unused partition entries and later detection of unused entries.
Use memcpy to be consistent with the rest of the code, and fix
Oops, the arguments to a bcopy() were reversed, which broke zeroing of unused partition entries and later detection of unused entries.
Use memcpy to be consistent with the rest of the code, and fix a minor style nit.
Submitted by: bde
show more ...
|
#
2175f5f1 |
| 16-Oct-2001 |
Bruce Evans <bde@FreeBSD.org> |
Fixed spelling error in previous commit.
|
#
a528d318 |
| 15-Oct-2001 |
Peter Wemm <peter@FreeBSD.org> |
Add 0xEE (EFI GPT) and 0xEF (EFI System Partition)
|
#
63692187 |
| 05-Aug-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
Fix a number of bugs and annoyances in fdisk, many of which were pointed out by bde: - Ask for user confirmation before adjusting to a head/cylinder boundary (only when running interactively), and
Fix a number of bugs and annoyances in fdisk, many of which were pointed out by bde: - Ask for user confirmation before adjusting to a head/cylinder boundary (only when running interactively), and separate this adjustment from the automatic calculation of c/h/s parameters. - In sanitize_partition, don't change any values in the slice until we know that the automatic adjustment will succeed. - When auto-adjusting, ignore unused slices and give an appropriate error for other zero-size slices depending on the cause. - Change dos() to do all of the c/h/s calculations for a whole slice; this fixes a bug where the ending c/h/s of an unused slice was set incorrectly. - When changing the active slice, detect the currently active slice number instead of always defaulting to slice 4. - Call fflush(stdout) before calling fgets(). - Test for fgets() returning NULL so we don't loop on EOF.
Reviewed by: bde
show more ...
|
#
df77f711 |
| 13-Jul-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
After some (long-standing ;-) critics from Bruce, throw away the old device search code i introduce nearly six years ago in rev 1.8. Bruce suggested to rather use the device name of the root filesys
After some (long-standing ;-) critics from Bruce, throw away the old device search code i introduce nearly six years ago in rev 1.8. Bruce suggested to rather use the device name of the root filesystem instead which is certainly the most sensible default. Since there are many possible cases for a root filesystem name (device with and without slices, consider /dev/vinum/root even though it currently could not work as such), there's some heuristic using a RE in order to find out the canonical device name from the mounted name. This probably won't quite fit for a NFS root (can't test that right now), but then, there's hard to find a good default for those machines anyway. ;-)
This unbreaks the functionality of rev 1.2 i once broke in 1.8. :)
show more ...
|
#
8de9ed22 |
| 05-Jul-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Make open_disk() fail nicely upon encountering an ENOENT so to not prematurely terminate the search for a usable disk. ENOENT is quite normal in particulare now with the advent of devfs.
While bein
Make open_disk() fail nicely upon encountering an ENOENT so to not prematurely terminate the search for a usable disk. ENOENT is quite normal in particulare now with the advent of devfs.
While being here, also remove /dev/wd0 and /dev/od0 from the list of disks to search since we don't have them anymore.
MFC after: 1 week
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
6580291b |
| 29-Nov-2000 |
David E. O'Brien <obrien@FreeBSD.org> |
I didn't maintain the "chs" ordering. Rather the bug was in print_part().
Requested by: bde.
|
Revision tags: release/4.2.0 |
|
#
0469c254 |
| 18-Nov-2000 |
David E. O'Brien <obrien@FreeBSD.org> |
Make the order of values prompted for with the "-i" option match print_part()
|
Revision tags: release/4.1.1_cvs |
|
#
b594e0fe |
| 24-Aug-2000 |
John Baldwin <jhb@FreeBSD.org> |
- When adjusting the end of a partition to lie on a cylinder boundary, don't adjust the size, but the actual end. - Break out some of the sanity checks on partitions into a sanitize_partition fun
- When adjusting the end of a partition to lie on a cylinder boundary, don't adjust the size, but the actual end. - Break out some of the sanity checks on partitions into a sanitize_partition function. - When adjusting partitions, always adjust the start "up", and the end "down" so that we stay within the boundaries of the original request. - Various small nits found by bde.
Reported by: bde, imp, rgrimes
show more ...
|
#
197ef307 |
| 07-Aug-2000 |
Josef Karthauser <joe@FreeBSD.org> |
0xA0 = Suspend to disk.
|
Revision tags: release/4.1.0 |
|
#
fe81981f |
| 21-Jul-2000 |
John Baldwin <jhb@FreeBSD.org> |
Fix a really stupid bug where I assumed sizeof(int) == 2. This resulted in MBR's with a 4th slice failing the signature check and fdisk saying that they are invalid.
Submitted by: bde
|