Date: Wed, 14 Jun 2000 16:34:22 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf majors Message-ID: <200006142334.QAA68165@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006142334.QAA68165>