This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: [HEADSUP] Let's start a Cygwin 1.7 release area
On Apr 3 13:56, Igor Peshansky wrote:
> On Thu, 3 Apr 2008, Corinna Vinschen wrote:
> > On second thought, I think we don't need a specific "root" handling as
> > in
> >
> > ignore / root binary 0 0
> >
> > I think what we should do is this. The code creating the mount points
> > automatically generates the root directory mount entry from the DLL path:
> >
> > path = GetModuleFileName (cygwin1.dll);
> > path = snip_away trailing_bin_cygwin1.dll (path);
> > mount_table->add_item (path, "/", MOUNT_SYSTEM | MOUNT_BINARY, false);
> >
> > Then, when reading the fstab file, it might contain any standard entry
> > for the root dir, just like every other entry:
> >
> > C:\my\alterante\cygwin-root / ntfs text 0 0
> >
> > How does that sound?
>
> Right. Since the users can shoot themselves in the foot anyway by
> overriding /bin and /etc, unless we want to litter the code with special
> handling of directories, might as well let them do it at their leisure...
> :-)
For testing I applied a patch which creates a default root dir.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat