This is the mail archive of the cygwin@cygwin.com 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]

a couple of problems/items with managed mounts


(1)
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
@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
cygwin/?

(2)
I don't understand when and why ".lnk" is attached as a suffix when I
create soft links.

Under a "regular" directory,
@lester:~% touch tp
@lester:~% ln -s ./tp tpp
@lester:~% rm tpp
@lester:~% touch tp
@lester:~% ln -s ./tp tpa
@lester:~% ln -s ./tp tpB
@lester:~% ln -s ./tp TPC
@lester:~% ls -l
lrwxrwxrwx    1 ingber   None           86 Nov 27 10:30 TPC -> ./tp
-rw-------    1 ingber   None            0 Nov 27 10:25 tp
lrwxrwxrwx    1 ingber   None           86 Nov 27 10:25 tpB -> ./tp
lrwxrwxrwx    1 ingber   None           86 Nov 27 10:25 tpa -> ./tp

However, under a "managed" directory,
@lester:/managed% touch tp
@lester:/managed% ln -s ./tp tpa
@lester:/managed% ln -s ./tp tpB
@lester:/managed% ln -s ./tp TPC
@lester:/managed% ls -l
lrwxrwxrwx    1 ingber   None           86 Nov 27 10:28 TPC.lnk -> ./tp
-rw-------    1 ingber   None            0 Nov 27 10:25 tp
lrwxrwxrwx    1 ingber   None           86 Nov 27 10:25 tpB.lnk -> ./tp
lrwxrwxrwx    1 ingber   None           86 Nov 27 10:25 tpa -> ./tp

It seems that mixed-case or all upper-case soft-linked filenames take on a
".lnk" suffix, whereas any filesnames with lower-case characters do not?

Lester


-- 
 Prof. Lester Ingber  ingber@ingber.com  ingber@alumni.caltech.edu
 www.ingber.com                     www.alumni.caltech.edu/~ingber


--
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]