From owner-cvs-all Wed Jun 14 16:34:30 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1389737B5A6; Wed, 14 Jun 2000 16:34:23 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA68165; Wed, 14 Jun 2000 16:34:23 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <200006142334.QAA68165@freefall.freebsd.org> From: Warner Losh Date: Wed, 14 Jun 2000 16:34:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf majors Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2000/06/14 16:34:22 PDT Modified files: sys/conf majors Log: This file lies by saying 200-255 are reserved for local use, thus implying that they aren't used for the rest of the system. Fix the lies: 253 is used by mfs (bad MFS for not registering it). 254 is a magic cookie inside of the dev code in at least one place. 255 is -1 which is magic in a different way in the dev code. So, that means that 200-252 are reserved for local users. A grep for 252 didn't turn anything up, so I'm assuming it and lower are safe. And I thought I was being smart by allocating our local major numbers from 254 on down. This caused very very odd problems that were hard to track down: close not being called, sync failing at reboot, etc. Revision Changes Path 1.105 +6 -3 src/sys/conf/majors To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message