*BSD News Article 90891


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!news.sgi.com!newsfeed.nacamar.de!news-kar1.dfn.de!news-stu1.dfn.de!news-mue1.dfn.de!news-nue1.dfn.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: problem wit my cdrom
Date: 11 Mar 1997 22:15:17 GMT
Organization: Private BSD site, Dresden
Lines: 21
Message-ID: <5g4lhl$1gv@uriah.heep.sax.de>
References: <5fjq8p$ofe$1@concorde.epita.fr> <5fk83g$lie$2@news.fred.net>
  <331E9211.41C67EA6@teligent.se>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36943

Johan Lithander <johan@teligent.se> wrote:

> Can anyone tell me the differens between /dev/cd0a and /dev/cd0c ?????
> (The xmcd does only work if /dev/rfd0c is used, at least for me.)

cd0c is, as usual, the entire device.  Just a `c' partition like
anything else, it bypasses all considerations for an internal
disklabel.

cd0a is a faked partition inside an (internal) BSD disklabel.  The
function cd_getdisklabel() is responsible for this.  Thus, access to
this partition will be subject to the usual bounds checking.

(All this is very gross code.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)