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: /usr/local, /var and */tmp in c:\Users\Public


On Wed, Nov 12, 2014 at 5:16 PM, Warren Young wrote:
> On Nov 12, 2014, at 2:53 PM, cyg Simple wrote:
>
>> On Wed, Nov 12, 2014 at 1:00 PM, Warren Young wrote:
>>>
>>> I think it would be an improvement to Cygwin if c:\cygwin contained only things that can be reinstalled from your local setup.exe download cache, in the same way that you can nuke "c:\Program Files\Microsoft Office $versionâ and reinstall without losing anything you created locally.
>>>
>>
>> What local changes/installations get lost?
>
> Currently, if you nuke a default installation into c:\cygwin, you lose /home, /etc, /var and /usr/local, all of which contain user files and/or local system configuration.
>

On Wed, Nov 12, 2014 at 5:21 PM, Andrey Repin wrote:
> Greetings, cyg Simple!
>
>> What local changes/installations get lost?
>
> What get lost, if you nuke Cygwin folder in default installation?
> Everything. Every single piece you could think about.
>

Cygwin cannot prevent stupidity.  These "nuked" files should be
recoverable by a restore process from a backup.  However, place your
files that setup doesn't control in other directories and use
/etc/fstab to map them.  For instance I have a c:/opt directory where
I install many applications.  I also have a c:/mnt directory where I
put things like c:/mnt/home and mount that to /home.  I can have two
different instance of Cygwin running with a common $HOME.

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