This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [1.7] /proc/mounts, /etc/mtab
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 4 Feb 2009 17:44:14 +0100
- Subject: Re: [1.7] /proc/mounts, /etc/mtab
- References: <49616682.7020203@users.sourceforge.net> <20090107142928.GC19133@calimero.vinschen.de>
- Reply-to: cygwin at cygwin dot com
On Jan 7 15:29, Corinna Vinschen wrote:
> On Jan 4 19:46, Yaakov (Cygwin/X) wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > It would be a helpful enhancement to have a /proc/mounts interface to
> > the mountpoint data, with /etc/mtab perhaps being a symlink thereto. Is
> > this something that could be easily added, or is this a case of PTC?
>
> Nice idea. I would like to reduce further extensions to Cygwin until we
> eventually released the first 1.7 officially. But a P would certainly
> be CT ;)
I just implemented /proc/$PID/mounts as well as the /proc/mounts
symlink to /proc/self/mounts as on Linux. We just have to add
`ln -s /proc/mounts /etc/mtab' to some base script.
HTH,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/