From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,31a8390286cc618d X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.cwix.com!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: Bob Harris Newsgroups: comp.unix.tru64 Subject: Re: Missing C Library functions References: <1103131727.112549.100690@f14g2000cwb.googlegroups.com> <1103144162.309760.303050@f14g2000cwb.googlegroups.com> User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) Message-ID: Date: Thu, 16 Dec 2004 03:51:53 GMT NNTP-Posting-Host: 16.115.197.246 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1103169113 16.115.197.246 (Wed, 15 Dec 2004 19:51:53 PST) NNTP-Posting-Date: Wed, 15 Dec 2004 19:51:53 PST Organization: Hewlett-Packard Company Xref: g2news1.google.com comp.unix.tru64:433 In article <1103144162.309760.303050@f14g2000cwb.googlegroups.com>, ajjahagirdar@yahoo.com wrote: > I also found that /etc/mnttab (and also /etc/mtab) is missing , while i > can see /etc/fstab. > df is showing all the mounted filesystems properly... > So whats going wrong here? > Is it the way this guys stores filesystem information or is my system > not in a good shape ? > I ran following to find out if there are any files refering to the > cdrom (after mounting it) - > for ENT in `find / | sed 's|\ |\\\ |g' | grep '\/[^\.]*$' ` ; do grep > -nl '/dev/disk/cdrom0c' ${ENT}; done, > but no success so far. > Experts !!? > Thanks. Tru64 UNIX uses getmntinfo(3) getfsstat(2) It does not have getmntent(), nor /etc/mnttab, nor /etc/mtab Checking the X/Open standards, getmntent() is not part of the standard. But then again, the standards tend to only worry about application APIs and not management APIs, which is what mount information would be lumped under as it would be different for UNIX, Windows, VMS, etc... Bob Harris