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

Re: setup drops mount?


Uhm, won't solve Karel's stated problem.  However, it's probably a good method
of restoring your know mounts should the registry become corrupted.

Cheers,
Earnie.
--- Trevor Forbes <t4bs@hotmail.com> wrote:
> All I do is "simply" maintain a brain dead .bat file as follows:
> 
> 
> cd f:\cygwin\bin
> 
> umount --remove-all-mounts
> 
> mount -f -b -s f:/Cygwin /
> mount -f -b -s -x f:/Cygwin/bin /bin
> mount -f -b -s -x f:/Cygwin/bin /usr/bin
> mount -f -b -s f:/Cygwin/lib /usr/lib
> mount -f -b -s g:/cvs /cvs
> mount -f -b -s e:/src /src
> 
> mount -b -s --change-cygdrive-prefix /
> mount -b --change-cygdrive-prefix /
> 
> 
> Trevor
> 
> 
> ----- Original Message -----
> From: "Sprenger, Karel" <Karel.Sprenger@Compaq.com>
> To: "'DJ Delorie'" <dj@delorie.com>
> Cc: <cygwin@sourceware.cygnus.com>
> Sent: Wednesday, 15 November 2000 5:57
> Subject: RE: setup drops mount?
> 
> 
> > Hi,
> >
> > On Tuesday, November 14, 2000 17:44 DJ Delorie [mailto:dj@delorie.com]
> > wrote:
> > >
> > > > That is all very well and fine, but it would be nice of setup to
> > > > restore my /var mount when it is done.
> > >
> > > The problem is that some packages might put files in /var.  If I
> > > restored your mount, those files would be inaccessible to cygwin
> > > programs.
> > >
> >
> > You're right: restoring mounts would lead to trouble.  But what would
> happen
> > if setup would honor my /var mount instead of reverting back to the var
> > subdirectory in the cygwin root?  Or any other mounts for that matter.
> > That's the nice thing about mounts, isn't it?  That way, the user decides
> > where things are going to be put.  For eaxample, if my C: drive is filled
> up
> > near capacity, I might want to move the /usr/local tree to drive D: and
> > adjust the mount table.  Then I would also want new stuff to be placed
> > according to that mount and not in the old place.
> >
> > > > I mean, who's the boss around here?
> > >
> > > If you use setup, setup is the boss.  Feel free to "tar xvfz" your own
> > > packages if you don't like the way setup sets up cygwin.
> > >
> >
> > I didn't mean to flame on setup (or its author).  I think setup is a great
> > tool, but it would be even greater if it would use any existing mounts or
> at
> > least inform the user when it decides to ignore them.
> >
> > Please let me know if I can be of any assistance in this.
> >
> > Cheers,
> > Karel
> >
> > --Karel Sprenger, senior solution specialist
> > COMPAQ, Professional Services
> > Mobile: +31 (6) 5178 5034           Home: +31 (20) 670 0942
> > E-mail: karel.sprenger@compaq.com   Private: cjas@xs4all.nl
> > "The best way to have a good idea is to have lots of ideas." - Linus
> > Pauling
> >
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> >
> >
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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