From owner-freebsd-current Sun Aug 16 03:57:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27923 for freebsd-current-outgoing; Sun, 16 Aug 1998 03:57:26 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27914 for ; Sun, 16 Aug 1998 03:57:19 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id UAA04271; Sun, 16 Aug 1998 20:56:43 +1000 Date: Sun, 16 Aug 1998 20:56:43 +1000 From: Bruce Evans Message-Id: <199808161056.UAA04271@godzilla.zeta.org.au> To: bde@zeta.org.au, dag-erli@ifi.uio.no Subject: Re: Funky DEVFS stuff. Cc: current@FreeBSD.ORG, jdp@polstra.com, julian@whistle.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> > Also, 'b' used to be magic (reserved for swap) in some Unix variants. >> > Not for us, right? >> It is conventionally reserved for swap in FreeBSD too. It is a bit >> more than conventionally reserved for kernel dumps in FreeBSD - >> dumps are not permitted on devices whose minor is 1 modulo 8 (see >> kern_shutdown.c:dumpsys() and autoconf.c:setdumpdev()). > >Except on DEVFS/SLICE systems, where this check is commented out since >the minor numbers are not as predictable. DEVFS/SLICE systems are just broken. There are 2 checks (see above), but only one is ifdefed out. >By the way, how much work would it be to make using more than 8 >partitions per slice possible? None. Everything is possible in software :-), and in theory the MAXPARTITIONS parameter can simply be increased up to about 22 as in NetBSD. You also have to change at least the size of openmask bitmap variables in FreeBSD. Our default of setting the number of partitions to the max isn't so good if the max is large. Sysinstall would probably have problems displaying 22 partitions on a 25-line screen. It would be more work to support a flexibly sized array of partitions - several places want `struct disklabel' to actually be a struct. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message