From owner-freebsd-stable Sat Apr 27 13:14:25 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smnolde.com (c-24-98-60-141.atl.client2.attbi.com [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id 8067737B41B for ; Sat, 27 Apr 2002 13:14:21 -0700 (PDT) Received: from bsd ([192.168.10.7] helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.30 #1) id 171YaK-0001o9-00; Sat, 27 Apr 2002 16:14:20 -0400 Received: from scott by bsd.smnolde.com with local (Exim 3.33 #1) id 171YaK-000GeB-00; Sat, 27 Apr 2002 16:14:20 -0400 Date: Sat, 27 Apr 2002 16:14:20 -0400 From: "Scott M. Nolde" To: Ian Dowse Cc: freebsd-stable@freebsd.org Subject: Re: cdrom can't be mounted under freeBSD 4.5-stable Message-ID: <20020427161420.C40819@smnolde.com> References: <20020427140839.B40819@smnolde.com> <200204272026.aa30187@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200204272026.aa30187@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Sat, Apr 27, 2002 at 08:26:40PM +0100 X-GPG_Fingerprint: 0BD6 DDB4 2978 EB60 E0C8 33F2 BC34 9087 D869 AB48 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ian Dowse(iedowse@maths.tcd.ie)@2002.04.27 20:26:40 +0000: > In message <20020427140839.B40819@smnolde.com>, "Scott M. Nolde" writes: > >As you can see, acd0 and acd1 are recognized properly by the system. I > >even remade the devices with /dev/MAKEDEV to no avail: > >crw-r----- 2 root operator 117, 0 Apr 26 22:45 /dev/acd0a > >crw-r----- 2 root operator 117, 2 Apr 26 22:45 /dev/acd0c > >crw-r----- 2 root operator 117, 8 Apr 26 22:45 /dev/acd1a > >crw-r----- 2 root operator 117, 10 Apr 26 22:45 /dev/acd1c > > Did you use mergemaster to update MAKEDEV before running it? I get > the following, which is different: > > crw-r----- 4 root operator 117, 0 Apr 27 20:24 acd0a > crw-r----- 4 root operator 117, 0 Apr 27 20:24 acd0c > crw-r----- 4 root operator 117, 8 Apr 27 20:24 acd1a > crw-r----- 4 root operator 117, 8 Apr 27 20:24 acd1c > > Ian Interesting, because in the /dev/MAKEDEV script is this concerning the minor number: i=0 while [ $i -le $units ]; do dname=$name$i rm -rf ${dname}* r${dname}* mknod ${dname}a c $chr $(($i * 8)) root:operator mknod ${dname}c c $chr $(($i * 8 + 2)) root:operator ln -f ${dname}a r${dname}a ln -f ${dname}c r${dname}c i=$(($i + 1)) done ... which is exactly what I have. What's in your MAKEDEV? When/why did the "+ 2" get in there if it's incorrect? -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message