Date: Sat, 27 Apr 2002 16:14:20 -0400 From: "Scott M. Nolde" <scott@smnolde.com> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: freebsd-stable@freebsd.org Subject: Re: cdrom can't be mounted under freeBSD 4.5-stable Message-ID: <20020427161420.C40819@smnolde.com> In-Reply-To: <200204272026.aa30187@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Sat, Apr 27, 2002 at 08:26:40PM %2B0100 References: <20020427140839.B40819@smnolde.com> <200204272026.aa30187@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020427161420.C40819>
