From owner-freebsd-newbies Thu Jul 25 5:30:15 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 0C90337B400 for ; Thu, 25 Jul 2002 05:30:10 -0700 (PDT) Received: from hotmail.com (law2-f15.hotmail.com [216.32.181.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id C323F43E31 for ; Thu, 25 Jul 2002 05:30:09 -0700 (PDT) (envelope-from pupilla@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 25 Jul 2002 05:30:09 -0700 Received: from 80.204.235.254 by lw2fd.hotmail.msn.com with HTTP; Thu, 25 Jul 2002 12:30:09 GMT X-Originating-IP: [80.204.235.254] From: "Marco Berizzi" To: freebsd-newbies@FreeBSD.ORG Subject: block device vs char device Date: Thu, 25 Jul 2002 14:30:09 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Jul 2002 12:30:09.0824 (UTC) FILETIME=[04055A00:01C233D7] 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 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-newbies" in the body of the message