| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Useful for seeing exactly what is currently on the disk. Suggested
by a request from kettenis@.
Man page & usage ok jmc@
|
|
|
|
|
|
|
| |
make the initial mbr that tt pointed at a global that can be directly
accessed in the couple of places it is needed.
Fewer parameters, less confusion, no functional change.
|
|
|
|
|
|
| |
There is only one disk being worked on, so just make it a global.
Fewer parameters, less confusion, no functional change.
|
|
|
|
|
|
| |
code a bit.
ok deraadt@ igor@ (with suggested tweak that is coming)
|
|
|
|
|
|
|
|
|
|
| |
not checked to void. Use continue inside a do loop instead of a
goto to the top. Move a #define/#undef more local to use. Eliminate
some lint.
General cleanup of things noticed preparing the big churn.
No intentional functional change.
|
|
|
|
|
|
| |
With the permission of Toby.
ok deraadt@
|
|
|
|
| |
'User_modify' to 'USER_edit' for the same reason.
|
| |
|
|
|
|
|
|
|
|
|
| |
#include in *.h files in favour of listing them as required in the *.c
files. Fix error message to correctly state that 64 is the minimum
value for -l. Use errx() where errno is not relevant. Use 'continue'
rather than a label to go back to start of a loop.
No intentional functional change.
|
|
|
|
|
|
|
|
| |
abstraction. Call a 'struct' a 'struct' and not a pony.
No functional change.
idea ok deraadt@
|
| |
|
| |
|
|
|
|
|
|
| |
Add a -u flag to fdisk which updates MBR code, but leaves the partition
table intact. There are still issues with 'update' having different behavior,
but I'll resolve those shortly
|
|
|
|
| |
deraadt@ ok
|
|
|
|
|
|
|
|
| |
absolute offset of the current mbr and its relative position. because:
the starting sector of the first mbr entry in an extended partition is relative
to the starting offset of the whole mbr itself. the starting offset of a new
extended partition is relative to the offset of the very first extended
partition.
|
| |
|
|
editing code. Rewrite from the ground up, save about
20 lines of code. Seems to create valid partition
tables on i386 and alphas.
|