Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Don't kill the iso partition at 'a' when we have a ...
details: https://anonhg.NetBSD.org/src/rev/78e1b4c33ef3
branches: trunk
changeset: 779975:78e1b4c33ef3
user: christos <christos%NetBSD.org@localhost>
date: Tue Jul 03 13:03:47 2012 +0000
description:
Don't kill the iso partition at 'a' when we have a udf raw partition.
Makes cd0a mountable again. Should be pulled up to 6 (after people
verify that it works in the broken cases)
http://mail-index.netbsd.org/current-users/2012/06/14/msg020415.html
diffstat:
sys/kern/subr_disk_mbr.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r a267aae2749d -r 78e1b4c33ef3 sys/kern/subr_disk_mbr.c
--- a/sys/kern/subr_disk_mbr.c Tue Jul 03 09:28:08 2012 +0000
+++ b/sys/kern/subr_disk_mbr.c Tue Jul 03 13:03:47 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_disk_mbr.c,v 1.42 2011/06/30 20:09:41 wiz Exp $ */
+/* $NetBSD: subr_disk_mbr.c,v 1.43 2012/07/03 13:03:47 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.42 2011/06/30 20:09:41 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.43 2012/07/03 13:03:47 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -364,9 +364,11 @@
a->lp->d_partitions[0].p_size = a->lp->d_secperunit;
a->lp->d_partitions[0].p_cdsession = is_iso9660;
a->lp->d_partitions[0].p_fstype = FS_ISO9660;
+#ifdef notyet
} else {
a->lp->d_partitions[0].p_size = 0;
a->lp->d_partitions[0].p_fstype = FS_UNUSED;
+#endif
}
/* add udf partition if found */
Home |
Main Index |
Thread Index |
Old Index