* Missing C Library functions
@ 2004-12-15 17:28 ajjahagirdar
2004-12-15 20:56 ` ajjahagirdar
0 siblings, 1 reply; 3+ messages in thread
From: ajjahagirdar @ 2004-12-15 17:28 UTC (permalink / raw)
While porting source written for Sun Solaris to True64 (V5.1 running on
alpha) It came to me that getmntent(3C) (a C library function) is not
implimented on True64.
I am using a natively built gcc version 3.4.3
I came across the solaris compatiability library for Tru64 but it seems
that they are not going to be much use to me here...
I am looking for an efficent way of porting code to Tru64. Are there
any libraries available online or Programmer's Refrence that can point
me to alternate functions available for the platform ?
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Missing C Library functions
2004-12-15 17:28 Missing C Library functions ajjahagirdar
@ 2004-12-15 20:56 ` ajjahagirdar
2004-12-16 3:51 ` Bob Harris
0 siblings, 1 reply; 3+ messages in thread
From: ajjahagirdar @ 2004-12-15 20:56 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Missing C Library functions
2004-12-15 20:56 ` ajjahagirdar
@ 2004-12-16 3:51 ` Bob Harris
0 siblings, 0 replies; 3+ messages in thread
From: Bob Harris @ 2004-12-16 3:51 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-16 3:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15 17:28 Missing C Library functions ajjahagirdar
2004-12-15 20:56 ` ajjahagirdar
2004-12-16 3:51 ` Bob Harris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox