🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #460

Re: Extended Attribute questions

#460
From: Derek Baum - Sun PC Distributed ...
Date: Fri, 06 Apr 1990 14:13
20 lines
1680 bytes
In article <PREECE.90Apr4171214@etude.urbana.mcd.mot.com> preece@urbana.mcd.mot.com (Scott E. Preece) writes:
>
>1. Which standard commands and utilities know about and preserve extended
>attributes?
All utilities supplied with OS|2 1.2 seem to preserve EAs, most
importantly: COPY and XCOPY as well as the File Manager.
If you need to copy a file to a system that does NOT preserve EAs,
you can use EAUTIL to split or combine the EAs into a visible file.

>2. The API seems to only allow you to pull out a list of specified
>attributes; is there a way of retrieving the whole list, without
>specifying the names in advance?  If not, how would you duplicate a
>file, preserving its attributes, without knowing in advance what
>attributes it had?
The family API function DosEnumAttribute enumerates all extended attributes
for a specified file, however the DosCopy API provides a simpler method
of duplicating a file (or sub-tree) and preserves extended attributes.
Derek Baum consulting at:
Sun Microsystems    Internet: dbaum@East.Sun.COM
(508)671-0456       UUCP: ...!sun!suneast!dbaum
Technical Details
Message-ID: <1760@east.East.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!philmtl!philabs!gotham!east!camilla!dbaum
References: <PREECE.90Apr4171214@etude.urbana.mcd.mot.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!philmtl!philabs!gotham!east!camilla!dbaum
From: dbaum@camilla.East.Sun.COM (Derek Baum - Sun PC Distributed Systems)
Newsgroups: comp.os.os2
Subject: Re: Extended Attribute questions
Message-ID: <1760@east.East.Sun.COM>
Date: 6 Apr 90 14:13:50 GMT
References: <PREECE.90Apr4171214@etude.urbana.mcd.mot.com>
Sender: news@east.East.Sun.COM
Reply-To: dbaum@camilla.East.Sun.COM (Derek Baum - Sun PC Distributed Systems)
Distribution: comp
Organization: Sun Microsystems, Billerica MA
Lines: 20