Interesting, sometimes (but not always) useful side effect: the API
returns absolute path names to relative input.

Assuming my user profile is JJB and I have a home directory '/home/jjb'
that contains a file 'README.txt':
- 'readme.txt' returns '/home/jjb/README.txt'
- '/home/jjb/..' returns '/home'

Joep Beckeringh
Pantheon Automatisering


"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 22-12-2015 13:45:22:

j.beckeringh@xxxxxxxxxxxxxxxxxxxxxxxxxx

22-12-2015 13:45

RE: Exact Name of File in Root-Part of IFS

Thank you, Carsten, that works.

Strange: if I retrieve the file_id with Qp0lGetAttr I recognize the
values
from st_ino_genid and st_ino in bytes 9-16, but the first 8 bytes
contain
x'0000000000000001' instead of all zeroes. But both values seem to work
for Qp0lGetPathFromFileId.

Joep Beckeringh
Pantheon Automatisering

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.