Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Rolf Campbell <thats.unpossible@gmail.com>
Subject: Re: ls /dev/*
Date: Wed, 03 Nov 2004 15:02:37 -0500
Lines: 16
Message-ID: <cmbdgu$919$1@sea.gmane.org>
References: <ulldkowjo.fsf@gnu.org> <20041102200113.GA22769@trixie.casa.cgf.cx> <cm9sjd$vql$1@sea.gmane.org> <20041103151252.GD31627@trixie.casa.cgf.cx> <cmatkm$nbk$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: ottgw.tropicnetworks.com
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
In-Reply-To: <cmatkm$nbk$1@sea.gmane.org>
X-IsSubscribed: yes

Andrew DeFaria wrote:
>> While, you are welcome to redefine /cygdrive any way you want, the 
>> unix paradigm does not put filesystems under /dev. That is for devices.
> To me, a disk drive IS a device. YMMV! :-)
A disk drive is a device, but /cygdrive/c is not a disk-drive.  It's a 
file-system contained in a partition contained on a disk-drive 
(usually).  In unix-like systems, the disk-drive and the partition are 
available as devices along with the file-system.  The disk-drive in 
/dev/ is a flat-device.  All bytes available sequentially as a single image.

I recall that there is a way to access the disks as real devices under 
NT/2000/XP using some strange notation.  It might make sense to mount 
those under /dev/, but to mount your C-drive there would not be 
consistant with what /dev/ was designed for.

-Rolf


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

