This is the mail archive of the 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: a couple of problems/items with managed mounts

My intent in setting up e:/Carchive/cygwin/managed on my 2nd hardrrive
e: is that I have a regular backup of c: under e:/Carchive/ (in
addition to regular ghost backups), and I wish to include a backup of
c:/cygwin/managed/ under e:/Carchive/cygwin/managed/.  Since I have files
under c:/cygwin/managed/ that indeed take advantage of this managed mount,
e.g., mixed case names, I need such a managed mount under e: as well.

I do not see how else I can access e:/Carchive/cygwin/managed/ under the
present mounts shown below.  Is there another way I should have c:, e:,
and/or /cygdrive mounted to accomplish this?


On Thu, Nov 27, 2003 at 10:36:49AM -0800, Lester Ingber wrote:
>I have two managed mounts:
>@lester:~% mount
>C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
>e:\Carchive\cygwin\managed on /cygdrive/e/Carchive/cygwin/managed type system (binmode,managed)
>c:\cygwin\managed on /managed type system (binmode,managed)
>C:\cygwin\bin on /usr/bin type system (binmode)
>C:\cygwin\lib on /usr/lib type system (binmode)
>C:\cygwin on / type system (binmode)
>c: on /cygdrive/c type system (binmode,noumount)
>e: on /cygdrive/e type system (binmode,noumount)
>Under /managed I can place files as advertised:
>@lester:/managed% touch tp Tp
>@lester:/managed% ls -l
>-rw-------    1 ingber   None            0 Nov 27 10:33 Tp
>-rw-------    1 ingber   None            0 Nov 27 10:33 tp
>However, under /cygdrive/e/Carchive/cygwin/managed I cannot:
>@lester:/cygdrive/e/Carchive/cygwin/managed% touch tp Tp
>touch: creating `Tp': No such file or directory

Of course not.  You're accessing the drive via /cygdrive rather than
through the managed mount.  The same thing would apply to binmode
or any of the other mount options.

>@lester:/cygdrive/e/Carchive/cygwin/managed% ls -l
>total 54435
>-rw-------    1 ingber   None            0 Nov 27 10:32 tp
>and only tp appears.
>Is this because "mount -o managed" only works on the drive holding
>I don't understand when and why ".lnk" is attached as a suffix when I
>create soft links.

Cygwin has a random "mean" mode.  It is very effective in producing unpredictable
results with the .lnk extension.


Unsubscribe info:
Problem reports:

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