diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-11-11 11:08:02 +0100 |
---|---|---|
committer | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-11-17 12:10:37 +0100 |
commit | 7ea496223cb9aab52ce18703c817a8d2b75d18a1 (patch) | |
tree | 7f71d21c1b5585c9c49acecbd62cb812705a5a0b | |
parent | 9e757c8c383007bc0b5c9c6e3fc9fd29d8e5240f (diff) | |
download | SLOF-7ea496223cb9aab52ce18703c817a8d2b75d18a1.zip SLOF-7ea496223cb9aab52ce18703c817a8d2b75d18a1.tar.gz SLOF-7ea496223cb9aab52ce18703c817a8d2b75d18a1.tar.bz2 |
Fixed bug in disk-label support package
The "offset" function only worked for partitions starting within the first
4 GiB of the disk.
Also increased the amount of data to be read from a PReP partition since some
clients are certainly bigger than 2 MiB nowadays.
-rw-r--r-- | slof/fs/packages/disk-label.fs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slof/fs/packages/disk-label.fs b/slof/fs/packages/disk-label.fs index ca4b5b4..065f32c 100644 --- a/slof/fs/packages/disk-label.fs +++ b/slof/fs/packages/disk-label.fs @@ -77,7 +77,7 @@ CONSTANT /partition-entry \ Defined by IEEE 1275-1994 (3.8.1) : offset ( d.rel -- d.abs ) - part-offset 0 d+ + part-offset xlsplit d+ ; : seek ( pos.lo pos.hi -- status ) @@ -509,7 +509,7 @@ CONSTANT /partition-entry ELSE partition IF 0 0 seek drop - 200000 read + max-prep-partition-blocks 200 * read ELSE has-iso9660-filesystem IF dup load-chrp-boot-file ?dup 0 > IF nip EXIT THEN |