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
Date: Wed, 3 Nov 2004 15:52:12 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Rolf Campbell <thats.unpossible@gmail.com>
cc: cygwin@cygwin.com
Subject: Re: ls /dev/*
In-Reply-To: <cmbdgu$919$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.61.0411031550260.27136@slinky.cs.nyu.edu>
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> <cmbdgu$919$1@sea.gmane.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Wed, 3 Nov 2004, Rolf Campbell wrote:

> 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.

True.

> I recall that there is a way to access the disks as real devices under
> NT/2000/XP using some strange notation.

What's wrong with using /dev/sda*?

> It might make sense to mount those under /dev/,

They already are: "ls /dev/sda", "ls /dev/sda1"...

> but to mount your C-drive there would not be consistant with what /dev/
> was designed for.

True.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

