summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-03-09 20:06:30 +0000
committerphk <phk@FreeBSD.org>2001-03-09 20:06:30 +0000
commitb99d2e36ebe82d2812a1c9644601afd86a3ba0b9 (patch)
treef5923ea12b2b01648fa73b49ebf9b3fb8e4aa450 /sys
parent49329f27991e0ea9b001b3cfede7b56001412136 (diff)
downloadFreeBSD-src-b99d2e36ebe82d2812a1c9644601afd86a3ba0b9.zip
FreeBSD-src-b99d2e36ebe82d2812a1c9644601afd86a3ba0b9.tar.gz
Use a more BIOS friendly geometry.
Submitted by: joe
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index dc53517..ca06c9c 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -200,7 +200,7 @@ mdopen(dev_t dev, int flag, int fmt, struct proc *p)
dl = &sc->disk.d_label;
bzero(dl, sizeof(*dl));
dl->d_secsize = sc->secsize;
- dl->d_nsectors = sc->nsect > 1024 ? 1024 : sc->nsect;
+ dl->d_nsectors = sc->nsect > 63 ? 63 : sc->nsect;
dl->d_ntracks = 1;
dl->d_secpercyl = dl->d_nsectors * dl->d_ntracks;
dl->d_secperunit = sc->nsect;
OpenPOWER on IntegriCloud