Hello Rob,

Am 12.11.2019 um 14:59 schrieb Rob Berendt <rob@xxxxxxxxx>:

Is there an attribute on a directory which says that it is an NFS mount? I'd rather not rely upon some naming convention or other such standard to determine this.

I searched for that a bit, because in Linux I'd parse the output from the "mount -t nfs" command to see where NFS filesystems start in the hierarchy. Unfortunately, there's no "mount" in PASE and also no /etc/mtab. So no avail this way.

Perhaps there are IFS APIs to look at, to see which filesystem is mounted where. A quick search revealed nothing helpful so far, but I really did only a quick search. Even in GO CMDMFS, there's no "work with".

Also, a call to the C "stat" function is supposed to give you an ID of the device containing file. No idea where to go from here, though. (To map this ID back to something helpful for determining if that "device" resembles an NFS mount.)

Maybe this gets you a few starting points to dig deeper into.

A job which used to run in just a few minutes now takes 18 hours.

NFS was never quick in OS/400 and it's successors. ;-)

If you can describe what the job does and in wich environment it runs, maybe there will raise further ideas how to solve this problem.

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.