delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/03/15:02:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Rolf Campbell <thats DOT unpossible AT gmail DOT 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 DOT fsf AT gnu DOT org> <20041102200113 DOT GA22769 AT trixie DOT casa DOT cgf DOT cx> <cm9sjd$vql$1 AT sea DOT gmane DOT org> <20041103151252 DOT GD31627 AT trixie DOT casa DOT cgf DOT cx> <cmatkm$nbk$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019