hmmmmmmmmm
that's odd
try
cat /etc/mtab
that is sort of the same thing
that must be a cat problem but it is hard to imagine what it is.
you could try reading /proc/mounts or /etc/mtab programmatically with
getmntent()
lets see
Code:
#include <mntent.h>
struct mntent *fs;
FILE *fp = setmntent("/etc/mtab","r");
while ((fs == getmntent(fp)) != NULL)
printf ("%s %s %s %d %d\n", fs->mnt_fsname, fs->mnt_dir, fs->mnt_type, fs->mnt_opts, fs->mnt_freq, fs->mnt_passno);