Mail Archives: cygwin/2006/10/12/08:44:18
On Thu, Oct 12, 2006 at 02:32:17PM +0200, Corinna Vinschen wrote:
>On Oct 12 14:21, Kai Raphahn wrote:
>> Christopher Faylor wrote:
>>
>> > We're already cluttering the root one less than linux since modern linuxes
>> > use /dev, /proc, and /sys.
>>
>> > Hmm. /sys/drive/c has a nice feel to it, although this is YA a case where
>> > the existence of a filesystem under this directory is not linux-like.
>>
>> What about /mnt/c?
>
>Recent Linux distros are using /media to point to several... media.
>For instance /media/cdrom. So, something like /media/dosdrive/c sounds
>interesting, too.
Wow! Two new suggestions for this age-old discussion.
I still think that if this is necessary, it should be done by a setup
script rather than complicating cygwin's code. The only problem that I
can see is that the mount table is limited in size so you wouldn't want
to do something like:
mount -f -b a:/ /media/dosdrive/c
mount -f -b b:/ /media/dosdrive/c
mount -f -b c:/ /media/dosdrive/c
mount -f -b d:/ /media/dosdrive/c
mount -f -b e:/ /media/dosdrive/c
mount -f -b f:/ /media/dosdrive/c
mount -f -b g:/ /media/dosdrive/c
.
.
.
But, I don't think that is really required anyway. It sounds like
all we need is something like:
mount -f -b c:\windows /win/winroot
The more I think about this, the more I think that complicating Cygwin's
complicated path handling code with another special case is not a good
idea.
Incidentally, the /etc/hosts symlink could also just be handled with
a mount rather than a symlink...
cgf
--
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 -