diff options
author | 2008-08-08 23:49:53 +0000 | |
---|---|---|
committer | 2008-08-08 23:49:53 +0000 | |
commit | f576767c0af4eb738c184d91beb1f0a6b9e3b2e4 (patch) | |
tree | 4dba72eecf8e614e350aa8861ab28d5db13f3bca /sys/dev/pci/vga_pci.c | |
parent | add a variable $SERVER_NAME which is "OpenBSD relayd" by default. (diff) | |
download | wireguard-openbsd-f576767c0af4eb738c184d91beb1f0a6b9e3b2e4.tar.xz wireguard-openbsd-f576767c0af4eb738c184d91beb1f0a6b9e3b2e4.zip |
Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a.
512) bytes; ffs is inextricably tied to using b_blkno and disklabel
always uses sectorsize units.
Thus use DEV_BSIZE units for all fields describing ffs filesystems
and convert to/from sectors where required. This enables the creation
and use of ffs filesystems on non-512 byte sectorsize devices.
This diff allows i386 and sgi (the two test platforms) to find
disklabels that are not on a sectorsize boundary. Same change to
further archs coming.
This is a no-op on 512-byte sectorsize devices.
This work triggered by jsing@'s need to create ffs filesystems on
sgi cdroms so we can create cdrom install media for sgi.
sgi testing by jsing@
ok jsing@ pedro@ "looks sane" beck@ weingart@
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
0 files changed, 0 insertions, 0 deletions