Date: Fri, 7 Aug 1998 17:24:11 +0930 From: Greg Lehey <grog@lemis.com> To: djv@bedford.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: CCD newbie Q Message-ID: <19980807172411.F13559@freebie.lemis.com> In-Reply-To: <199808070616.CAA01034@lucy.bedford.net>; from djv@bedford.net on Fri, Aug 07, 1998 at 02:16:17AM -0400 References: <19980807151016.D13559@freebie.lemis.com> <199808070616.CAA01034@lucy.bedford.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 7 August 1998 at 2:16:17 -0400, djv@bedford.net wrote: > Greg Lehey wrote >> On Friday, 7 August 1998 at 0:56:54 -0400, djv@bedford.net wrote: >>> Greg Lehey wrote >>>> On Thursday, 6 August 1998 at 11:28:31 -0400, djv@bedford.net wrote: >>>>> Recently, filled with ccd-zeal, I decided to give it a try, relying >>>>> upon man ccd and man ccdconfig and a fearless attitude towards a certain >>>>> disk. >>>>> >>>>> System: PPro 200, 2.2.6R, scsi disk. (Seagate st32550W on AIC-7880). >>>>> Compiled new kernel, with 4 ccd pseudo devices. >>>>> Did MAKEDEV ccd0, creating devices [r]ccd0[a-h]. Strange, there's >>>>> no ccd0 or rccd0 devices... why not? >>>> >>>> You need to make them separately. >>> >>> And their majors and minors would be ? >> >> Whatever you get when you run /dev/MAKEDEV: >> >> # cd /dev >> # ./MAKEDEV ccd0 >> # l *ccd0* >> brw-r----- 1 root operator 21, 0 Aug 7 15:09 ccd0a >> brw-r----- 1 root operator 21, 1 Aug 7 15:09 ccd0b >> brw-r----- 1 root operator 21, 2 Aug 7 15:09 ccd0c >> brw-r----- 1 root operator 21, 3 Aug 7 15:09 ccd0d >> brw-r----- 1 root operator 21, 4 Aug 7 15:09 ccd0e >> brw-r----- 1 root operator 21, 5 Aug 7 15:09 ccd0f >> brw-r----- 1 root operator 21, 6 Aug 7 15:09 ccd0g >> brw-r----- 1 root operator 21, 7 Aug 7 15:09 ccd0h >> crw-r----- 1 root operator 74, 0 Aug 7 15:09 rccd0a >> crw-r----- 1 root operator 74, 1 Aug 7 15:09 rccd0b >> crw-r----- 1 root operator 74, 2 Aug 7 15:09 rccd0c >> crw-r----- 1 root operator 74, 3 Aug 7 15:09 rccd0d >> crw-r----- 1 root operator 74, 4 Aug 7 15:09 rccd0e >> crw-r----- 1 root operator 74, 5 Aug 7 15:09 rccd0f >> crw-r----- 1 root operator 74, 6 Aug 7 15:09 rccd0g >> crw-r----- 1 root operator 74, 7 Aug 7 15:09 rccd0h >> >> You need to run MAKEDEV separately for each ccd number. > > But there is still neither ccd0 device nor rccd0 device. > (NOT ccd0a). Ah. > Do such devices exist? Apparently not. I can't see any good use for them. > What are their major and minor device numbers? If they were to exist, the major numbers would be the same (they identify the driver), and the minor numbers would end in 2 (i.e. the c slice). But it's probably preferable to use ccd0c and rccd0c. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key 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?19980807172411.F13559>