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: Installing cygwin by manually copying c:\cygwin to another machine

Brett Serkez wrote:

Is it just the mount points that are the issue?  The path?  The
desktop icon?  It is possible to run setup against such an
'installation' to update it?

It's primarily just the mount points. See Corinna's message in this thread for recreating them.

The desktop & start menu icons are obviously not going to be present
with this method, but that's not really an issue. It should be noted
that cygwin.bat has a full path in it, so this would need editing.

Yes, you could run setup with this - it is, for all intents and
purposes, the installation you made with setup on the other machine.
Setup doesn't care that it's now on a different machine. None of what
it does is machine-specific.

What about chere and services such as sshd and the like?

Seems to me there is a short list, having a documented method or even a
script to settle in a moved cygwin directory on a new system may be
useful.  I would presume this would be significantly faster than
reinstalling on multiple systems.

Not particularly, assuming you use the same local package cache on each machine, especially if you use the trick for pulling in all the packages you want automatically.

I don't know about chere, but once the mount points are created, as per Corinna's message, cygwin is in the same state it would be in if you had installed it on that system directly. That means that setup, services like sshd, cron, inetd, etcetera will be available for installation. Permissions will be set accordingly by the service installation scripts, where appropriate.

You could /potentially/ have a permissions problem if you copy the folder as a user and for whatever reason permissions are not inherited that allow other users to utilise cygwin, but if this is the case then you're already running a non-standard setup, and should know enough about it to avoid this problem.

Chris --

Spinning complacently in the darkness, covered and blinded by a blanket
of little lives, false security has lulled the madness of this world
into a slumber. Wake up! An eye is upon you, staring straight down and
keenly through, seeing all that you are and everything that you will
never be. Yes, an eye is upon you, an eye ready to blink. So face
forward, with arms wide open and mind reeling. Your future has
arrived... Are you ready to go?

Unsubscribe info:
Problem reports:

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