[HEADSUP] Let's start a Cygwin 1.7 release area

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Apr 3 17:48:00 GMT 2008


On Apr  3 19:12, Corinna Vinschen wrote:
> On Apr  3 12:59, Christopher Faylor wrote:
> > But if we were doing this the "right way" then I think we probably
> > should have a procfs and something else which allowed the automatic
> > mounting of devices like floppies or usb disks.
> 
> I see.  I did the evaluation of a mount point being something automatic
> by using a string in the first field, but actually we should use
> specific strings in the FS type field and either ignore the content of
> the first field - for FS types like "cygdrive", "proc" (later) "root",
> "sysfs" (much later) - or the first field is the device which gets mounted
> in the second dir if the mount point is "auto".  Sort of a better cygdrive.
> I'll change the fstab stuff to do the FS type recognition for cygdrive
> and root.  We can then add the "auto" and "proc" stuff easily at some
> later point.

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?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list