summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-01-10 19:45:10 +0000
committerjhb <jhb@FreeBSD.org>2003-01-10 19:45:10 +0000
commit5fc7b42391b1760e39dbb4ef6b4f8d05ffc346a4 (patch)
tree582c40bc15c2ccbb48426f49ab30fc9eb6b233b0 /lib/libdisk
parent03f0bdefdedf30ee648673139c6d043380b58d48 (diff)
downloadFreeBSD-src-5fc7b42391b1760e39dbb4ef6b4f8d05ffc346a4.zip
FreeBSD-src-5fc7b42391b1760e39dbb4ef6b4f8d05ffc346a4.tar.gz
Use the fstype obtained from the GEOM dumpconf output to set the fstype
of BSD part chunks when opening a disk. Reviewed by: phk MFC after: 2 days
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 2341459..29632f5 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -313,7 +313,7 @@ Int_Open_Disk(const char *name)
break;
}
} else if (!strcmp(t, "BSD"))
- i = Add_Chunk(d, off, len, n, part, 0, 0, 0);
+ i = Add_Chunk(d, off, len, n, part, ty, 0, 0);
else if (!strcmp(t, "PC98")) {
switch (ty & 0x7f) {
case 0x14:
OpenPOWER on IntegriCloud