diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2007-03-04 04:59:41 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2007-03-04 04:59:41 +0000 |
| commit | d6ca0e8299d61c734d6d7e1b1907d3c5919da352 (patch) | |
| tree | 3c358986d4b703463459b897fe92a1bbbbb56d9d /sys/dev/raidframe/rf_diskqueue.c | |
| parent | 3723e75357913a605ab55a4444181e7f77725237 (diff) | |
Several fixes to make sgimipscd actually bootable:
- introduce SGIMIPS_SGIVOL variable which specifies sgivol(8) path
because nbsgivol tool is available only in TOOLDIR for sgimips and
possibly exists in a different directory from default TOOLDIR path
- use fixed (4096) value for SGIVOLHDR.size because default value
taken from <sys/bootblock.h> is 3135 (not multiples of 4) so it
doesn't match 2048bytes/sector CD images
- also pass SGIVOLHDR.size to sgivol(8) on creating volume
- rename raw iso9660 image before creating SGIVOLHDR to avoid
incomplete (non-bootable) image left on failure of sgivol(8)
Problem (i.e. sgimipscd-3.0.2.iso is not bootable) was reported
by Thierry Lacoste on port-sgimips, and fixed images are also
tested by him on IP22 (and by me on IP32).
Diffstat (limited to 'sys/dev/raidframe/rf_diskqueue.c')
0 files changed, 0 insertions, 0 deletions
