On 05/23/2016 09:46 AM, Hendrik Brueckner wrote:
On Sun, May 22, 2016 at 05:22:56PM -0600, Mark Post wrote:
On 5/22/2016 at 10:45 AM, WF Konynenberg <[email protected]> wrote:

The cmsfs-fuse also provides information the file mode and format.  They can
be obtained with getfattr or even set with setfattr.  This kind of
meta-information is managed as extended file attributes.

If there is some indication of packed CMS in these kind of meta-information it
could help to spot them in Linux.  Of course, if cmsfs-fuse is missing some
meta-information it should display with getfattr, please let us know.

 From a Linux perspective, I would still consider packed CMS files like any
other compressed files like bz2, xz, ...  So having a magic to stop these and,
optionally, a cmspack/cmsunpack command would help.

Aha,

So when Alan Altmark wrote that LRECL and RECFM aren't available to
applications, he didn't consider these attributes.  This renders the
entire discussion moot, as the relevant meta data is apparently already
available to Linux programs through a suitable mechanism.  (you only
mention mode & format, but I gather that includes LRECL...)

And yes, based on what I have heard so far about how these files appear
and are accessed in CMS, they would seem comparable to .gz, .xz etc
files and thus it would make sense to simply provide a similar
(de)compression tool for them and add their magic numbers to the file
program.

My concern was that Alan Altmark suggested that a critical bit of
information to positively identify these files was not available to
Linux programs, which is apparently not the case.

Thanks for clearing this up.

Willy

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to