Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 10:39:19 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        ap <adam@miscdebris.net>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: acd0 probed but not in dev dir?
Message-ID:  <20000518103919.L21557@strontium.scientia.demon.co.uk>
In-Reply-To: <001a01bfc09a$3d69be60$92fe1818@socal.rr.com>
References:  <000701bfc030$c50d2740$92fe1818@socal.rr.com> <20000517202609.G21557@strontium.scientia.demon.co.uk> <001a01bfc09a$3d69be60$92fe1818@socal.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please CC all responses to the mailing list, so everyone can help you,
rather than just me... thanks.

ap wrote:

> tried ./MAKEDEV acd2 ....neither acd0 nor acd1 appear.....what the hell am I
> doing wrong...its getting frustrating...espeacially since at one time they
> where appearing...and I'm not in the mood to reinstall.

Can you try,

# cd /dev
# sh -x MAKEDEV acd2

That should show which commands it's executing.  Copy those commands into
your email, or just see which bits look different to this:

+ [ -n  ]
+ PATH=/sbin:/bin
+ umask 77
+ dkrawpart=2
+ dkcompatslice=0
+ dkrawslice=1
+ disk_umask=037
+ tape_umask=017
+ umask 037
+ expr acd2 : ...\(.*\)
+ units=2
+ name=acd
+ chr=117
+ [ -z 2 -o 2 -le 0 ]
+ [ 2 -le 31 ]
+ i=0
+ [ 0 -lt 2 ]
+ dname=acd0
+ rm -rf acd0a acd0c racd0a racd0c
+ mknod acd0a c 117 0 root:operator
+ rm -f acd0a
+ /sbin/mknod acd0a c 117 0 root:operator
+ mknod acd0c c 117 2 root:operator
+ rm -f acd0c
+ /sbin/mknod acd0c c 117 2 root:operator
+ mknod racd0a c 117 0 root:operator
+ rm -f racd0a
+ /sbin/mknod racd0a c 117 0 root:operator
+ mknod racd0c c 117 2 root:operator
+ rm -f racd0c
+ /sbin/mknod racd0c c 117 2 root:operator
+ i=1
+ [ 1 -lt 2 ]
+ dname=acd1
+ rm -rf acd1a acd1c racd1a racd1c
+ mknod acd1a c 117 8 root:operator
+ rm -f acd1a
+ /sbin/mknod acd1a c 117 8 root:operator
+ mknod acd1c c 117 10 root:operator
+ rm -f acd1c
+ /sbin/mknod acd1c c 117 10 root:operator
+ mknod racd1a c 117 8 root:operator
+ rm -f racd1a
+ /sbin/mknod racd1a c 117 8 root:operator
+ mknod racd1c c 117 10 root:operator
+ rm -f racd1c
+ /sbin/mknod racd1c c 117 10 root:operator
+ i=2
+ [ 2 -lt 2 ]
+ umask 77

That's the output on my system.

(Which version of FreeBSD are you using by the way?  If you mentioned it
I've forgotten.  I'm guessing it's FreeBSD 4.)

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000518103919.L21557>