From owner-freebsd-questions Thu Jul 5 3: 1:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by hub.freebsd.org (Postfix) with ESMTP id DD32A37B401 for ; Thu, 5 Jul 2001 03:01:11 -0700 (PDT) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.11.3/8.9.3) with ESMTP id f65A18401762; Thu, 5 Jul 2001 12:01:09 +0200 (CEST) (envelope-from kheuer@gwdu60.gwdg.de) Date: Thu, 5 Jul 2001 12:01:08 +0200 (CEST) From: Konrad Heuer To: "Robert J. Hansen" Cc: Subject: Re: Newbie: Q regarding /dev entries In-Reply-To: <3B4425FA.2000305@inav.net> Message-ID: <20010705114537.S1408-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 5 Jul 2001, Robert J. Hansen wrote: > /dev/hda --> IDE HD > /dev/hdb --> IDE Zip > /dev/hdc --> IDE CDROM > > ... can anyone give me a pointer on which /dev entries those correspond > to in FreeBSD? Well, FreeBSD uses the following names: IDE (Atapi) devices: -------------------- Device type=09=09Block device=09=09Raw Device Disk 1=09=09=09/dev/ad0=09=09/dev/rad0 =09=09=09/dev/ad0s1=09=09/dev/rad0s1 =09=09=09/dev/ad0s1a=09=09/dev/rad0s1a =09=09=09/dev/ad0a=09=09/dev/rad0a =09=09=09...=09=09=09... Disk 2=09=09=09/dev/ad1=09=09/dev/rad1 =09=09=09...=09=09=09... CDROM=09=09=09/dev/acd0a=09=09/dev/racd0a =09=09=09/dev/acd0c=09=09/dev/racd0c SCSI-Devices: ------------- Similar, but da instead of ad for disks, and cd0a etc. instead of acd0a etc. In general, block device nodes are used for mounting (e.g.), raw device nodes for formatting (e.g.). The disk slices (partitions) are numbered s1, s2 and so on; the BSD-specific partitions (disklabel partitions) are numbered a, b, c, d, ..., h. The letter a ist used for the root partition, b for swap, c for the whole disk, and the rest for additional partitions. If you want to play an audio cd, you'd have to use /dev/racd0c, if you want to mount a CD containing a filesystem, you'd have to use /dev/acd0c. Hope that helps. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Second question. I'd like to get EMACS rewired to accept the backspace > key, instead of throwing a fit at the fact that I'm not using delete. > Now, I can just hack out a short EMACS LISP definition to remap the key, > but I was hoping there was a more elegant solution. Sorry, I can't help here. Regards Konrad Heuer Personal Bookmarks: Gesellschaft f=FCr wissenschaftliche Datenverarbeitung mbH G=D6ttingen http://www.freebsd.org Am Fa=DFberg, D-37077 G=D6ttingen http://www.daemonnews.o= rg Deutschland (Germany) kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message