This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] /proc/mounts, /etc/mtab


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]