Mail Archives: cygwin/2006/10/13/10:19:01
On Fri, 13 Oct 2006, Corinna Vinschen wrote:
> On Oct 12 22:08, Igor Peshansky wrote:
> > On Thu, 12 Oct 2006, Corinna Vinschen wrote:
> > > > So it looks like using mixed paths (cygpath -m) would be an easy way
> > > > out of this for now.
> > >
> > > Naah, scratch that. Creating a mount point for $SYSTEMROOT seems the
> > > better solution.
> >
> > I'll go with mixed case. The mount point for $SYSTEMROOT will either
> > have to be explicitly created, or it will need to be built into
> > cygwin1.dll. In the former case, it's more hassle for the user; [...]
>
> I think the idea here was that the base-file package would create the
> mount point, if /WINDOWS doesn't exist already.
Right. That was in the part of my message you've snipped:
On Thu, 12 Oct 2006, Igor Peshansky wrote:
> [...] And if we make it the job of /etc/postinstall/base-files-mketc.sh,
> we're depriving the user of a scarce resource -- a mount table entry
> (unless we raise the limit, but then again it won't work for older
> versions).
I'm not very much in favor of silently creating unnecessary mount points.
There were cases where it was unavoidable (in the case of XWin fonts and
textmode mounts), but in this case an extra-mount-free solution exists.
I just checked the source, and apparently the limit on the number of mount
entries is 30, not 16 (as previously stated). Given the fact that
/cygdrive/* mounts exist outside of this limit, the mount table entries
aren't as scarce a resource as I imagined. My mount tables have skirted
15 or so entries, but never got close to 30.
However, the only possible advantage of having that mount would be if we
could then copy the symlinks to another installation and have them work
seamlessly. Unfortunately, given that the files that the symlinks refer
to live at different paths relative to the windows directory on different
windows versions, this is not going to happen.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -