summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/write_sparc64_disk.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation errors.phk2003-04-221-2/+1
| | | | I wonder how I managed to cross-compile this yesterday.
* Update libdisk to use the explicing encoding function for sunlabel dataphk2003-04-211-11/+11
| | | | structures.
* Fixed style(9)nyan2002-11-151-9/+9
|
* Write the boot block to the first 16 sectors of all partitions, instead ofjake2002-11-101-12/+13
| | | | | | | | | | always to the first 16 sectors of the disk. The firmware reads the boot code from a partition, defaulting to 'a' if none is specified, which only corresponds to the first 16 sectors of the disk if 'a' is first. Solaris often makes the swap partition first, instead of the root partition, and users expect to be able to do the same with freebsd as well. This also allows one to temporarily boot from another partition if the boot block on the root partition gets scrambled somehow.
* Fill in partition 2 with with "whole disk" parameters.phk2002-11-011-0/+8
|
* Actually save the bootblock in the disk structure. Write the bootblockjake2002-10-311-2/+2
| | | | to the right place on the disk instead of srewn all over it.
* Write out 15 sectors of boot code.phk2002-10-301-0/+4
|
* Add the write_spar64_disk.c to make life easier for testers.phk2002-10-291-0/+94
This file depends on some major surgery in the rest of libdisk which is not yet committed.
OpenPOWER on IntegriCloud