Mail Archives: cygwin/2000/04/20/03:24:45
Yea now it seams I found a way to nearly accomplish what I need.
I did set my mounts now in a very basic manner, like mounts are thought
to be set :-)
And for the rest I use links.
this are my mounts
Device Directory Type Flags
G: /G native text!=binary
D: /D native text!=binary
C: / native text!=binary
And here my links
lrw-r--r-- 1 544 everyone 24 Apr 17 19:58 java ->
/G/jdev/Java/
lrw-r--r-- 1 544 everyone 46 Apr 17 20:01 jdbc ->
/G/jdev/Java/it/prodata/tools/jdbc/
lrw-r--r-- 1 544 everyone 19 Apr 17 19:59 jdev -> /G/jdev/
-r--r--r-- 1 544 everyone 156496 Mar 1 15:52 ntldr
lrw-r--r-- 1 544 everyone 30 Apr 17 19:59 patch ->
/G/jdev/JPatch_122/
lrw-r--r-- 1 544 everyone 35 Apr 17 19:59 pro ->
/G/jdev/Java/it/prodata/
drwxr-xr-x 2 544 everyone 0 Apr 17 22:19 tmp
drwxr-xr-x 3 544 everyone 0 Mar 7 15:31 users
lrw-r--r-- 1 544 everyone 54 Apr 17 20:01 zeiterfassung ->
/G/jdev/Java/it/prodata/gest/zeiterfassung/
Now it seams to work nearly! My problem is is I am in a linked directory
say
patiii:/pro$
and I start my editor (a Win32 editor called CodeWride by Premia) using
a cmd-Batch (didn't try with a bash script, have less experience with
it) I am just able to give files as parameter in a reletive fashion:
patiii:/pro$e Test.java
patiii:/pro$e ../Hallo.java
But not absolute fashions:
patiii:~$e /pro/Hallo.java
I think this is because the Win app doesn't know anything about the
links and the bash doesn't make the translation, could I activate link
translation or something?
thanks larry for all ur help with the mounting problems!
Ohh someone knows where I can get ncurses, I couldn't find it nowhere
even not on the new util mirror www.franken.de. Would like the clear
command for bash!
cu Patrick
"Larry Hall (RFK Partners, Inc)" wrote:
>
> At 04:50 AM 4/14/00, you wrote:
> >Fuck I'm not able to set this mount points correctly
> >
> >Now I explain u:
> >
> >I have 3 phisical partitions
> >C: -> NTFS -> WINNT System
> >D: -> NTFS -> USERS Directory (just for me) and other stuff like
> >download, ...
> >G: -> FAT -> Sources for developing
> >
> >My HOME env is set to
> >~$ echo $HOME
> >/D/users/patrick
> >
> >Would like to have my developing dirs into my home dir, like u see from
> >my mounts.
> >But it wont work.
> >
> >Do I have to use '/' or '\' ?
> >Do I have to use Volumes like G:, D:
> > or should I use /G/..., /D/...
> > or should I use //G/..., //D/...
>
> Check out my last email for some of this. You should use '/' for Cygwin
> paths. You can use either '/' or '\\' for the Windows paths. You can
> mount the Windows drives to any (existing) directory you like. You don't
> need to have the directory be named the same as the drive (although many
> people like that convention). Don't use '//<drive letter>'. Its a
> deprecated feature from b20.x that will only cause you trouble (if it
> hasn't already). Windows uses "//" (or "\\" in Windows world) to indicate
> a network path. Windows will try to interpret anything that follows as a
> host name....
>
> What wrong with something simple like:
>
> mount c: /
> mkdir /d /g
> mount d: /d
> mount g: /g
>
> ??
>
> >I tried some out, but now nothing seams to work anymore :-(
> >
> >I really don't understand
> >
> >cu patrick
> >
> >"Larry Hall (RFK Partners, Inc)" wrote:
> > >
> > > At 12:42 PM 4/13/00, you wrote:
> > > >Sorry I have no .login file meither in ~ nor in /
> > >
> > > You don't necessarily need one.
> > >
> > > >btw. some questions:
> > > >
> > > >1)
> > > >Here I send u my (virtual) fstab :-). It works pretty good for me to
> > > >manage it in this manner
> > > >~$ mount
> > > >Device Directory Type Flags
> > > >G:jdev\Java\it\prodata /D/users/patrick/pro native text!=binary
> > > >G:jdev\JPatch_122 /D/users/patrick/patch native text!=binary
> > > >G:jdev /D/users/patrick/jdev native text!=binary
> > > >D: /D native text!=binary
> > > >C: / native text!=binary
> > > >~$
> > > >
> > > >But why does the following happen?
> > > >~$ cd ~/pro/
> > > >~/pro$ cd ..
> > > >~/pro/..$
> > > >
> > > >~/pro/..$ THIS SHOULD BE ~$
> > > >
> > >
> > > Most likely because of your mounts. Mounting paths under others can
> > > sometimes cause confusion. Also, I'm not sure what you HOME is set to so
> > > its hard for me to know where "~" is. It also seems strange that you have
> > > not "\" (or "/") after your "G:". This may be having an effect as well.
> > >
> > > >2)
> > > >Why does clear not work?
> > >
> > > Is it there? AFAIK, it comes with the termcap or ncurses package so you
> > > wouldn't even have it unless you've installed those (I have ncurses so it
> > > works for me - this may be something that's part of b20.x now too but I
> > > can't say for sure).
> > >
> > > >I write u this questions off the mailing list, because I suppose they
> > > >are to much basic for there.
> > >
> > > Perhaps. I don't have all the answers though!;-)
> > >
> > > Larry
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -