This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls /dev/*


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]