Mail Archives: cygwin/2000/11/15/08:52:37
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 AT hotmail DOT 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 DOT Sprenger AT Compaq DOT com>
> To: "'DJ Delorie'" <dj AT delorie DOT com>
> Cc: <cygwin AT sourceware DOT cygnus DOT 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 AT delorie DOT 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 DOT sprenger AT compaq DOT com Private: cjas AT xs4all DOT 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 AT sourceware DOT cygnus DOT com
> >
> >
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com
- Raw text -