Colin Burgess(deleted)
|
Re: How to get the mounted file systems or autoconf AC_FUNC_GETMNTENT
failed for sysutils/findutils
|
Colin Burgess(deleted)
12/11/2007 7:20 AM
post3551
|
Re: How to get the mounted file systems or autoconf AC_FUNC_GETMNTENT
failed for sysutils/findutils
You iterate through the /proc/mount filesystem
http://www.qnx.com/developers/articles/article_294_1.html
Christian Leutloff wrote:
>
> What functions should be used to retrieve the list of mounted file
> systems under QNX?
>
>
> Upstream pkgsrc has updated the sysutils/findutils and now configure
> fails:
>
> checking for listmntent... no
> checking for getmntinfo... no
> checking for sys/ucred.h... no
> checking for sys/mount.h... yes
> checking mntent.h usability... no
> checking mntent.h presence... no
> checking for mntent.h... no
> checking sys/fs_types.h usability... no
> checking sys/fs_types.h presence... no
> checking for sys/fs_types.h... no
> checking for struct fsstat.f_fstypename... no
> checking for library containing getmntent... no
> checking for getmntent... no
> checking for listmntent of Cray/Unicos-9... no
> checking for mntctl function and struct vmount... no
> checking for getfsstat function... no
> checking for FIXME existence of three headers... no
> checking for getmntinfo function... no
> checking for getmnt function... no
> checking for next_dev... no
> checking for fs_stat_dev... no
> checking fs_info.h usability... no
> checking fs_info.h presence... no
> checking for fs_info.h... no
> checking for BEOS mounted file system support functions... no
> checking whether it is possible to resort to fread on /etc/mnttab... no
> configure: error: could not determine how to read list of mounted file
> systems
>
>
> The message is triggerd by the autoconf macro AC_FUNC_GETMNTENT.
> (http://www.gnu.org/software/automake/manual/autoconf/Particular-Functions.html#index-AC_005fFUNC_005fGETMNTENT-373)
>
>
> I was not able to find the required information in the QNX documentation:
>
> http://www.qnx.com/developers/docs/6.3.2/neutrino/utilities/m/mount.html
> and
> http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/m/mount.html
> have no further references. Searching the site and the include files
> for some/most of the above mentioned functions failed, too.
>
> sys/fs_stats.h seems to have a related structure - but searching the
> qnx site shows no hit for fs_stats ...
>
>
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post3549
>
--
cburgess@qnx.com
|
|
|