On Fri, Mar 12, 2010 at 00:14, Bert Wesarg <bert.wesarg_at_[hidden]> wrote:
> On Fri, Mar 12, 2010 at 00:03, Brice Goglin <Brice.Goglin_at_[hidden]> wrote:
>> Did you actually test this ? The way I am reading the manpage is that
>> you need to open with setmntent and close with endmntent.
> I have read the man page, but only about getmntent, and than read the
> source code for getmntent from glibc.
> So yes, it is better to use setmntent/endmntent to be conform.
Ups, what about the fsroot_fd now? I think this has something to do if
/proc and /sys are not mounted at the root, for example in test mode,