From owner-freebsd-newbies Fri Jul 26 2: 0:42 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAFA037B401 for ; Fri, 26 Jul 2002 02:00:38 -0700 (PDT) Received: from hotmail.com (law2-f19.hotmail.com [216.32.181.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7584B43E65 for ; Fri, 26 Jul 2002 02:00:38 -0700 (PDT) (envelope-from pupilla@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 26 Jul 2002 02:00:38 -0700 Received: from 80.204.235.254 by lw2fd.hotmail.msn.com with HTTP; Fri, 26 Jul 2002 09:00:38 GMT X-Originating-IP: [80.204.235.254] From: "Marco Berizzi" To: dmp@pantherdragon.org Cc: hiten@uk.FreeBSD.org, freebsd-newbies@FreeBSD.ORG Subject: Re: block device vs char device Date: Fri, 26 Jul 2002 11:00:38 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Jul 2002 09:00:38.0365 (UTC) FILETIME=[E942B0D0:01C23482] Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for the reply. Now it's much more cleaner. So the correct device to use is cd*a (or acd*a). >From: Darren Pilgrim >To: Marco Berizzi >CC: hiten@uk.FreeBSD.org, freebsd-newbies@FreeBSD.ORG >Subject: Re: block device vs char device >Date: Thu, 25 Jul 2002 17:04:18 -0700 > >Marco Berizzi wrote: > > > > thanks for the patience. > > I have read the man pages you have pointed me > > before writing to the list but they don't > > explain clearly the difference (at least for me). > > Idem the handbook. Sometimes it reports you should > > use cd0c (possibly) and some examples (take a look > > at the SAP installation section) reports cd0a. > > > > Currently for me it is not clear why should I use > > cd0c and not cd0a to mount a cdrom (or viceversa). > > Both device are working well for me (this make me angry!!!). > > I would like to know which is the difference between the > > two nodes (the minors are different). > >cd0a and cd0c are different representations of the disc. Reading up on >disklabel will give you some clues about this. The "a" and "c" are >partition numbers, though "c" has special meaning. cd0a refers to the >first ISO filesystem on the CD. cd0c refers to the entire disc. You >should use cd0a for mounting a disc. > >There are also the audio-track device nodes: cd0t{1-100). These aren't >created by default (MAKEDEV all). You can create them seperately by >saying, `MAKEDEV cd0t`. > > > >From: Hiten Pandya > > >--- Marco Berizzi wrote: > > > > Hi Hiten, > > > > > > > > Thanks for the reply about char & block devices. > > > > Now all is much more clean. > > > > > >No Problem. > > > > > > > [ ... ] > > > > > > > > I haven't found anything about the difference > > > > between cd0a & cd0c. > > > > Any hints? > > > > > >OK. Ah my friend, it seems you didnt check the man pages (a very nice > > >discovery :-). For information on 'cd' type devices, look at: > > > > > > 1) http://www.freebsd.org/cgi/man.cgi?query=cd&apropos=0&sektion=4 > > > -- This man page contains information about SCSI CDROM Devices. > > > > > > 2) http://www.freebsd.org/cgi/man.cgi?query=ata&apropos=0&sektion=4 > > > -- This man page contains information about ATAPI CDROM Devices. > > > > > >Hope this helps. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message