Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2002 12:54:20 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        "Weston M. Price" <wmprice@direcway.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Character Devices vs. Block Devices 
Message-ID:  <20021001195420.6DF1D5D07@ptavv.es.net>
In-Reply-To: Your message of "Tue, 01 Oct 2002 15:19:59 -0000." <200210011519.59430.wmprice@direcway.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Weston M. Price" <wmprice@direcway.com>
> Date: Tue, 1 Oct 2002 15:19:59 +0000
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> Hello,

> 	A quick ls of my dev directory revealed that each one of my
> hard drives is considered a character device by the system. Example:
> 
> crw-r-----  2 root  operator  116, 0x00010002 Aug 19 16:09 /dev/ad0
> crw-r-----  2 root  operator  116,   0 Aug 19 16:09 /dev/ad0a
> crw-r-----  2 root  operator  116,   1 Aug 19 16:09 /dev/ad0b
> crw-r-----  2 root  operator  116,   2 Aug 19 16:09 /dev/ad0c
> crw-r-----  2 root  operator  116,   3 Aug 19 16:09 /dev/ad0d
> crw-r-----  2 root  operator  116,   4 Aug 19 16:09 /dev/ad0e
> crw-r-----  2 root  operator  116,   5 Aug 19 16:09 /dev/ad0f
> crw-r-----  2 root  operator  116,   6 Aug 19 16:09 /dev/ad0g
> crw-r-----  2 root  operator  116,   7 Aug 19 16:09 /dev/ad0h
> 
> What I am confused about, aren't hard drives treated as block
> devices on most systems? What am I missing?

Nothing. I can't comment on "most systems", but block devices were
eliminated from FreeBSD in V4.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001195420.6DF1D5D07>