[1.7] /proc/mounts, /etc/mtab
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Feb 4 16:44:00 GMT 2009
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/
More information about the Cygwin
mailing list