From owner-freebsd-questions Thu Jul 25 4:56: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31AFF37B630 for ; Thu, 25 Jul 2002 04:56:00 -0700 (PDT) Received: from hotmail.com (law2-f65.hotmail.com [216.32.181.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id D629E43E75 for ; Thu, 25 Jul 2002 04:55:58 -0700 (PDT) (envelope-from pupilla@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 25 Jul 2002 04:53:34 -0700 Received: from 80.204.235.254 by lw2fd.hotmail.msn.com with HTTP; Thu, 25 Jul 2002 11:53:34 GMT X-Originating-IP: [80.204.235.254] From: "Marco Berizzi" To: freebsd-questions@FreeBSD.ORG Subject: block device vs char device Date: Thu, 25 Jul 2002 13:53:34 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Jul 2002 11:53:34.0385 (UTC) FILETIME=[E76FF210:01C233D1] 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 Hi, I'm new to FreeBSD. I have had a little experience with Slackware Linux. I have a couple of questions. This is the output (partial) from ls -l /dev of my FreeBSD 4.6 i386 box. ... crw-r----- 2 root operator 13, 0x00020002 Jul 23 14:49 da0s1 crw-r----- 2 root operator 13, 0x00020000 Jul 23 14:49 da0s1a crw-r----- 2 root operator 13, 0x00020001 Jul 23 14:49 da0s1b crw-r----- 2 root operator 13, 0x00020002 Jul 23 14:49 da0s1c crw-r----- 2 root operator 13, 0x00020003 Jul 23 14:49 da0s1d crw-r----- 2 root operator 13, 0x00020004 Jul 23 14:49 da0s1e crw-r----- 2 root operator 13, 0x00020005 Jul 23 14:49 da0s1f crw-r----- 2 root operator 13, 0x00020006 Jul 23 14:49 da0s1g crw-r----- 2 root operator 13, 0x00020007 Jul 23 14:49 da0s1h crw-r----- 2 root operator 13, 0x00030002 Jul 23 14:49 da0s2 crw-r----- 2 root operator 13, 0x00040002 Jul 23 14:49 da0s3 crw-r----- 2 root operator 13, 0x00050002 Jul 23 14:49 da0s4 crw-r----- 2 root operator 13, 0x0001000a Jul 23 14:49 da1 ... Why /dev/MAKEDEV create these nodes as char device? Should't these device be created as block device (disk & cdrom)? Other question. Which the difference between /dev/cd0a & /dev/cd0c? ... crw-r----- 2 root operator 15, 0 Jul 23 14:50 cd0a crw-r----- 2 root operator 15, 2 Jul 23 14:50 cd0c crw-r----- 2 root operator 15, 8 Jul 23 14:50 cd1a crw-r----- 2 root operator 15, 10 Jul 23 14:50 cd1c ... Last: majors are listed in /usr/src/sys/conf/majors and minors? TIA _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message