* /cygdrive/c ==> //c
@ 2002-05-10 7:50 David T-G
2002-05-10 8:28 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 11+ messages in thread
From: David T-G @ 2002-05-10 7:50 UTC (permalink / raw)
To: CygWin Users' List
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
Hi, all --
I enjoyed being able to cd to //<driveletter>/<path> and was somewhat
disappointed when that changed to /cygdrive/<driveletter>/<path> and
still haven't gotten quite used to it. I was quite happy to find the
registry key that sets the cygdrive prefix but can't seem to put it back
to // (I can now change to /c/tmp or /d/data). Is there any way to get
back the double-slash behavior?
TIA & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-10 7:50 /cygdrive/c ==> //c David T-G
@ 2002-05-10 8:28 ` Larry Hall (RFK Partners, Inc)
2002-05-11 14:00 ` David T-G
0 siblings, 1 reply; 11+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-05-10 8:28 UTC (permalink / raw)
To: David T-G, CygWin Users' List
At 10:17 AM 5/10/2002, David T-G wrote:
>Hi, all --
>
>I enjoyed being able to cd to //<driveletter>/<path> and was somewhat
>disappointed when that changed to /cygdrive/<driveletter>/<path> and
>still haven't gotten quite used to it. I was quite happy to find the
>registry key that sets the cygdrive prefix but can't seem to put it back
>to // (I can now change to /c/tmp or /d/data). Is there any way to get
>back the double-slash behavior?
>
>
>TIA & HAND
No. Your best bet is to stick with the /<driveletter>/<path> alternative,
if you don't like the "cygdrive" (or some other prefix). "//" is generally
a bad choice for Windows anyway since that's the key to indicate network
paths via UNC. A mistyped local drive access using the "//" notation can
cause lengthy delays... and frequent posts to this list complaining about
performance! ;-)
There's no reason to be mucking around the registry either to make any of
these kinds of changes. That's why the mount command exists.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-10 8:28 ` Larry Hall (RFK Partners, Inc)
@ 2002-05-11 14:00 ` David T-G
2002-05-13 11:22 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 11+ messages in thread
From: David T-G @ 2002-05-11 14:00 UTC (permalink / raw)
To: CygWin Users' List; +Cc: Larry Hall (RFK Partners, Inc)
[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]
Larry, et al --
...and then Larry Hall (RFK Partners, Inc) said...
%
% At 10:17 AM 5/10/2002, David T-G wrote:
% >
% >I enjoyed being able to cd to //<driveletter>/<path> and was somewhat
...
% >to // (I can now change to /c/tmp or /d/data). Is there any way to get
% >back the double-slash behavior?
...
%
% No. Your best bet is to stick with the /<driveletter>/<path> alternative,
% if you don't like the "cygdrive" (or some other prefix). "//" is generally
It's just too long :-)
% a bad choice for Windows anyway since that's the key to indicate network
% paths via UNC. A mistyped local drive access using the "//" notation can
Ah, I get it. I didn't realize that // was now mapped as \\, though I
suppose that makes some sense. You see, I've only downloaded the cygwin
kit back at b.19 or b.20 (though I did update to .1 later) and at one
of the first setup.exe releases...
% cause lengthy delays... and frequent posts to this list complaining about
% performance! ;-)
Yeah, I can imagine :-) I experienced the same thing and figured it was
an error in the prefix rather than a network search, so I'm fortunate to
have not asked the same thing myself!
%
% There's no reason to be mucking around the registry either to make any of
% these kinds of changes. That's why the mount command exists.
Hmmm... Maybe I'll look into that, then! [*sigh* as soon as I find the
cygintl dll, apparently...]
Anyone want to break the suspense and tell me how it's useful to me?
Thanks & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-11 14:00 ` David T-G
@ 2002-05-13 11:22 ` Larry Hall (RFK Partners, Inc)
2002-05-14 7:32 ` David T-G
0 siblings, 1 reply; 11+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-05-13 11:22 UTC (permalink / raw)
To: David T-G, CygWin Users' List
At 03:00 PM 5/11/2002, David T-G wrote:
>Larry, et al --
>
>...and then Larry Hall (RFK Partners, Inc) said...
>%
>% At 10:17 AM 5/10/2002, David T-G wrote:
>% >
>% >I enjoyed being able to cd to //<driveletter>/<path> and was somewhat
>...
>% >to // (I can now change to /c/tmp or /d/data). Is there any way to get
>% >back the double-slash behavior?
>...
>%
>% No. Your best bet is to stick with the /<driveletter>/<path> alternative,
>% if you don't like the "cygdrive" (or some other prefix). "//" is generally
>
>It's just too long :-)
>
Change it to anything you like then with "mount".
<snip>
>%
>% There's no reason to be mucking around the registry either to make any of
>% these kinds of changes. That's why the mount command exists.
>
>Hmmm... Maybe I'll look into that, then! [*sigh* as soon as I find the
>cygintl dll, apparently...]
>
>Anyone want to break the suspense and tell me how it's useful to me?
The quickest source of information for this:
#mount --help
Usage: mount [OPTION] [<win32path> <posixpath>]
-b, --binary text files are equivalent to binary files
(newline = \n)
-c, --change-cygdrive-prefix change the cygdrive path prefix to <posixpath>
-f, --force force mount, don't warn about missing mount
point directories
-i, --import-old-mounts copy old registry mount table mounts into the current
mount areas
-p, --show-cygdrive-prefix show user and/or system cygdrive path prefix
-s, --system add mount point to system-wide registry location
-t, --text (default) text files get \r\n line endings
-u, --user (default) add mount point to user registry location
-x, --executable treat all files under mount point as executables
-X, --cygwin-executable treat all files under mount point as cygwin
executables
-m, --mount-commands write mount commands to replace user and
system mount points and cygdrive prefixes
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-13 11:22 ` Larry Hall (RFK Partners, Inc)
@ 2002-05-14 7:32 ` David T-G
2002-05-14 7:57 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 11+ messages in thread
From: David T-G @ 2002-05-14 7:32 UTC (permalink / raw)
To: CygWin Users' List; +Cc: Larry Hall (RFK Partners, Inc)
[-- Attachment #1: Type: text/plain, Size: 916 bytes --]
Larry, et al --
...and then Larry Hall (RFK Partners, Inc) said...
%
% At 03:00 PM 5/11/2002, David T-G wrote:
% >
% >...and then Larry Hall (RFK Partners, Inc) said...
...
% >% No. Your best bet is to stick with the /<driveletter>/<path> alternative,
% >% if you don't like the "cygdrive" (or some other prefix). "//" is generally
% >
% >It's just too long :-)
%
% Change it to anything you like then with "mount".
So I see, with much glee; thanks.
So where is the /etc/init.d/rc2.d where I put "mount -c /" to make it
happen every time the system starts instead of having to run it manually?
TIA & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-14 7:32 ` David T-G
@ 2002-05-14 7:57 ` Larry Hall (RFK Partners, Inc)
2002-05-14 8:06 ` David T-G
2002-05-14 9:45 ` Christopher Faylor
0 siblings, 2 replies; 11+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-05-14 7:57 UTC (permalink / raw)
To: David T-G, CygWin Users' List
At 10:06 AM 5/14/2002, David T-G wrote:
>Larry, et al --
>
>...and then Larry Hall (RFK Partners, Inc) said...
>%
>% At 03:00 PM 5/11/2002, David T-G wrote:
>% >
>% >...and then Larry Hall (RFK Partners, Inc) said...
>...
>% >% No. Your best bet is to stick with the /<driveletter>/<path> alternative,
>% >% if you don't like the "cygdrive" (or some other prefix). "//" is generally
>% >
>% >It's just too long :-)
>%
>% Change it to anything you like then with "mount".
>
>So I see, with much glee; thanks.
>
>So where is the /etc/init.d/rc2.d where I put "mount -c /" to make it
>happen every time the system starts instead of having to run it manually?
You don't need to run it manually with each "login". "mount" writes to the
registry so the settings are persistent. "mount -m" shows them to you.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-14 7:57 ` Larry Hall (RFK Partners, Inc)
@ 2002-05-14 8:06 ` David T-G
2002-05-14 9:45 ` Christopher Faylor
1 sibling, 0 replies; 11+ messages in thread
From: David T-G @ 2002-05-14 8:06 UTC (permalink / raw)
To: CygWin Users' List; +Cc: Larry Hall (RFK Partners, Inc)
[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]
Larry, et al --
...and then Larry Hall (RFK Partners, Inc) said...
%
% At 10:06 AM 5/14/2002, David T-G wrote:
% >
...
% >
% >So where is the /etc/init.d/rc2.d where I put "mount -c /" to make it
% >happen every time the system starts instead of having to run it manually?
%
% You don't need to run it manually with each "login". "mount" writes to the
% registry so the settings are persistent. "mount -m" shows them to you.
Ahhhh... The light begins to dawn!
So I set it once and forget it, even more than just putting it into
autoexec or such, and that also helps explain how this all works under
NT/2k/XP which don't like axbat and friends.
So if I can figure out how to get /home mounted under d:\data\cyghomes
just once then it will be that way from then on. Good; data doesn't
belong on c: on my system.
Thanks so much for the patient clarification!
%
%
%
% Larry Hall lhall@rfk.com
% RFK Partners, Inc. http://www.rfk.com
% 838 Washington Street (508) 893-9779 - RFK Office
% Holliston, MA 01746 (508) 893-9889 - FAX
HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-14 7:57 ` Larry Hall (RFK Partners, Inc)
2002-05-14 8:06 ` David T-G
@ 2002-05-14 9:45 ` Christopher Faylor
2002-05-14 13:13 ` David T-G
1 sibling, 1 reply; 11+ messages in thread
From: Christopher Faylor @ 2002-05-14 9:45 UTC (permalink / raw)
To: cygwin
On Tue, May 14, 2002 at 10:12:44AM -0400, Larry Hall (RFK Partners, Inc) wrote:
>>So where is the /etc/init.d/rc2.d where I put "mount -c /" to make it
>>happen every time the system starts instead of having to run it
>>manually?
>
>You don't need to run it manually with each "login". "mount" writes to
>the registry so the settings are persistent. "mount -m" shows them to
>you.
Ah! Registry! Now I understand.
So, if I use a binary editor on the registry files, I'll be able to mount
my own directories using cygwin!
Another method that should work is copying the registry to paper tape
and using hole punches and white out to make whatever changes you want.
Then read the paper tape back in and voila! your cygwin mount table is
updated!
Thanks for the tip, Larry. I am only a UNIX user so I wasn't sure exactly
how to do this. Your hint provided me with the info that I needed.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-14 9:45 ` Christopher Faylor
@ 2002-05-14 13:13 ` David T-G
0 siblings, 0 replies; 11+ messages in thread
From: David T-G @ 2002-05-14 13:13 UTC (permalink / raw)
To: CygWin Users' List
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
Christopher --
...and then Christopher Faylor said...
%
% On Tue, May 14, 2002 at 10:12:44AM -0400, Larry Hall (RFK Partners, Inc) wrote:
% >You don't need to run it manually with each "login". "mount" writes to
% >the registry so the settings are persistent. "mount -m" shows them to
% >you.
%
% Ah! Registry! Now I understand.
...
% Another method that should work is copying the registry to paper tape
% and using hole punches and white out to make whatever changes you want.
Silly Christopher... You should know that Scotch tape is much more
flexible than crusted white-out! I like the idea, though; it gives you a
physical backup of your mount table so that you can restore it when the
registry gets corrupted.
Do you have a tape reader that reads the sheet-feed sides of dot-matrix
fan paper? I have a bunch of that lying around and it seems awfully
suited to binary anyway ;-)
HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: /cygdrive/c ==> //c
@ 2002-05-14 8:38 Bernard Dautrevaux
2002-05-14 8:39 ` David T-G
0 siblings, 1 reply; 11+ messages in thread
From: Bernard Dautrevaux @ 2002-05-14 8:38 UTC (permalink / raw)
To: 'David T-G', CygWin Users' List
Cc: Larry Hall (RFK Partners, Inc)
> -----Original Message-----
> From: David T-G [mailto:davidtg-cygwin@justpickone.org]
> Sent: Tuesday, May 14, 2002 4:33 PM
> To: CygWin Users' List
> Cc: Larry Hall (RFK Partners, Inc)
> Subject: Re: /cygdrive/c ==> //c
>
>
> Larry, et al --
>
> ...and then Larry Hall (RFK Partners, Inc) said...
> %
> % At 10:06 AM 5/14/2002, David T-G wrote:
> % >
> ...
> % >
> % >So where is the /etc/init.d/rc2.d where I put "mount -c /"
> to make it
> % >happen every time the system starts instead of having to
> run it manually?
> %
> % You don't need to run it manually with each "login".
> "mount" writes to the
> % registry so the settings are persistent. "mount -m" shows
> them to you.
>
> Ahhhh... The light begins to dawn!
>
> So I set it once and forget it, even more than just putting it into
> autoexec or such, and that also helps explain how this all works under
> NT/2k/XP which don't like axbat and friends.
>
> So if I can figure out how to get /home mounted under d:\data\cyghomes
> just once then it will be that way from then on. Good; data doesn't
> belong on c: on my system.
why not just try "mount 'd:\data\cyghomes' /home" (or mount -s if you're
administrator of your PC so that /home is mounted not only for you but for
all users) ???
Bernard
--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel: +33 (0) 1 47 68 80 80
Fax: +33 (0) 1 47 88 97 85
e-mail: dautrevaux@microprocess.com
--------------------------------------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /cygdrive/c ==> //c
2002-05-14 8:38 Bernard Dautrevaux
@ 2002-05-14 8:39 ` David T-G
0 siblings, 0 replies; 11+ messages in thread
From: David T-G @ 2002-05-14 8:39 UTC (permalink / raw)
To: CygWin Users' List; +Cc: Bernard Dautrevaux
[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]
Bernard --
...and then Bernard Dautrevaux said...
%
% > -----Original Message-----
% > From: David T-G [mailto:davidtg-cygwin@justpickone.org]
...
% > ...and then Larry Hall (RFK Partners, Inc) said...
% > %
...
% > % You don't need to run it manually with each "login".
% > "mount" writes to the
% > % registry so the settings are persistent. "mount -m" shows
...
% >
% > So if I can figure out how to get /home mounted under d:\data\cyghomes
% > just once then it will be that way from then on. Good; data doesn't
% > belong on c: on my system.
%
% why not just try "mount 'd:\data\cyghomes' /home" (or mount -s if you're
% administrator of your PC so that /home is mounted not only for you but for
% all users) ???
Because I'm not at home to try it yet, of course :-)
Now that I have a clue that it will work, and know about the -s option
for poking around on my work NT box, I'm even more eager to give it a
shot. Thanks!
%
% Bernard
HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2002-05-14 19:12 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-10 7:50 /cygdrive/c ==> //c David T-G
2002-05-10 8:28 ` Larry Hall (RFK Partners, Inc)
2002-05-11 14:00 ` David T-G
2002-05-13 11:22 ` Larry Hall (RFK Partners, Inc)
2002-05-14 7:32 ` David T-G
2002-05-14 7:57 ` Larry Hall (RFK Partners, Inc)
2002-05-14 8:06 ` David T-G
2002-05-14 9:45 ` Christopher Faylor
2002-05-14 13:13 ` David T-G
2002-05-14 8:38 Bernard Dautrevaux
2002-05-14 8:39 ` David T-G
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).