diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2002-11-02 12:05:16 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2002-11-02 12:05:16 +0000 |
| commit | 0a8575280c89d53c8658aa529acf1cc5e20cc2e1 (patch) | |
| tree | 924a68355ffd36895c3d2a14783390308ec32939 /lib/libdisk/chunk.c | |
| parent | 23280b373b38f7ffcf6892255ceaa4ad09682ce9 (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/chunk.c')
| -rw-r--r-- | lib/libdisk/chunk.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c index ceabae1720fc..819e7b33c801 100644 --- a/lib/libdisk/chunk.c +++ b/lib/libdisk/chunk.c @@ -253,6 +253,26 @@ Add_Chunk(struct disk *d, long offset, u_long size, const char *name, return(-1); } break; + case p_ia64: + switch (type) { + case freebsd: + subtype = 0xa5; + /* FALL THROUGH */ + case fat: + case mbr: + c1 = Find_Mother_Chunk(d->chunks, offset, end, whole); + break; + case part: + c1 = Find_Mother_Chunk(d->chunks, offset, end, + freebsd); + if (!c1) + c1 = Find_Mother_Chunk(d->chunks, offset, end, + whole); + break; + default: + return (-1); + } + break; case p_pc98: switch (type) { case freebsd: |
