This is the mail archive of the cygwin 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: Junctions != Symlinks; Treat Junctions as MS-FS mounts; MS-symlinks are symlinks


On 3/11/2017 7:03 PM, L A Walsh wrote:
> cyg Simple wrote:
>> On 3/10/2017 4:01 PM, L A Walsh wrote:
>>  
>>>    I want to be able to mount other areas of other file
>>> systems onto directories.  Symlinks are destroyed by Cygwin's
>>> SETUP.EXE and the install process For example.  I have
>>> a smallish "/usr" partition, but a large "/Users" partition.
>>> "/usr/share" grew to hold more and more data over time, and
>>> currently is using 16G, all by itself.  My "/usr" partition is
>>> 15GB with 4.7GB free, 11G used.  So I needed to split
>>> "/usr/share" off to somewhere else.  I don't have room for another
>>> drive, but I do have room on "/Users".  So tell me,
>>> why shouldn't I be able to create "/Users/share" and mount
>>> "/Users/share" at "/usr/share"?
>>>
>>>     
>>
>> Linda, I'm not trying to reject what you're saying which I find very
>> sound.  But for this scenario why not just use an entry in /etc/fstab
>> similar to the below example?
>>   
> ----
>    I want my filesystem views between Windows and Cygwin to be
> the same, as they, for the most part, are as I have:
> 
>> mount -p
> Prefix              Type         Flags
> /                   user         binmode
> 

Just as I do.

> So in cygwin /m/foo == M:\foo in windows and
> //server/pathname in cygwin == \\server\pathname in Windows.
> 
> I use cygwin to manage my windows installation to some degree.
> 

Sure, why not.  What you're trying to do though can be done with manual
entries in the /etc/fstab.  You're issue as I've heard it is with
setup-*.exe and how it manages those junctions as symlinks and somehow
manages to mess up the junction because it replaces it with a Cygwin
style symlink.  Setup-*.exe is a Windows application but uses some of
Cygwin functions to help it and executes the postinstall files using a
Cygwin shell.

-- 
cyg Simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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