• Subject: Re: Adding text to an IFS file
  • From: John Dorn <jdorn@xxxxxxxxxx>
  • Date: Fri, 05 Dec 1997 09:35:55 -0500
  • Organization: I/NET, Inc.

>Yes, but when I do a WRKLNK, I can see one of the headings says "Text".
>And if I go into /java/demo/WebServer, I can see some "Attributes" of
>"Plain Text".  How do those get there?

Great question- hopefully someone knows the answer.  This has 
something to do with extended attributes.  The stream files in
'/java/demo/webserver' that have the "Plain Text" attribute 
show they do have extended attributes (WRKLNK option 8) and
the ones that do not show no extended attributes (size of 0).
When running an OS/2 program called EAS (used to work with extended
attributes) in conjunction with OS/2 optimized CA the "Plain Text"
attribute does not show up as an extended attribute (go figure).
EAS can be used to add new extended attributes and the new extended
attributes are stored with the object just as expected.

Extended attributes have been supported by IFS "root" objects since
IFS was added to OS/400 in V3R1, but I do not think there has ever
been an OS/400 interface (e.g., API, command) to set or retrieve
the extended attributes.  The only access to the extended attributes
is through a client that supports extended attributes.  Also, I am
fairly sure that the HFS APIs can not be used to manipulate IFS stream
files (HFS only works with QDLS and user written file systems).

Hopefully someone can explain this,

John Dorn
I/NET, Inc.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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