🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2821

Re: File Systems and Bac

#2821
From: John Cocula
Date: Sun, 13 Dec 1992 22:09
53 lines
2436 bytes
In a message to All <12-11-92 01:57>, Matthew Edward Patton writes: 

 ME> 1. Where,how are the Extended attributes stored?  Is it tacked onto
 ME> the
 ME> end of the file? Are they kept in a special hidden file in the
 ME> directory?

Under HPFS, all or part of EAs are kept in the fnode (similar to
Unix's inodes).  Under FAT, they are kept in clusters referenced by
\EA DATA. SF. Otherwised unused slots in FAT directory entries refer
to these clusters. 

 ME> 2. The popular OS2 compression Utilities Info's Zip and UnZip, do they
 ME> keep track of extended attributes and successfully store them?

Yes.

 ME> 3. Are sources for OS2's backup.exe and restore.exe available?

No.

 ME> 4.  Has ANYONE gotten Borland C++ 3.1 to run under a dos window in
 ME> OS2.

I have heard that one has to set DPMI to ENABLED, not AUTO in the
DOS session's Session page. 

 ME> 5. can a DOS program access the extended attributes or is there a way
 ME> to "dump/extract" the attributes and then "paste" them on again?

DOS programs don't see EAs, and often lose them.  OS/2 has an
OS/2-only utility called EAUTIL that will split them off into files
and rejoin them. 

 ME> 6. Is there a Programmers' guide to the OS2 kernel or os2/mdos kernel
 ME> available? (something like the Norton Programmer's guide to DOS:
 ME> funcalls, interupts, the works)

OS/2 has numerous reference books available from IBM.  Microsoft
has/had ones on the 16-bit API.  They are all on-line for $15 on
CD-ROM (if you are in the U.S.): 1-800-3IBMOS2. 

 ME> Explaination:  I want to write a HD backup program for os2 which will
 ME> operate under either FAT or HPFS and use the TurboVision IDE style
 ME> interface. (if you know how I might implement the interface under gcc
 ME> or something else let me know)  Anyway, I plan to develope under BCC
 ME> and run it as a DOS app under OS2.  Is this possible? Feasible? 

Sure, but an OS/2 backup utility would be more popular if it were an
OS/2 app, not a DOS app.  Borland has their 32-bit C++ development
environment in beta test right now, supposed to be out 1Q93 (soon).

John
Technical Details
Message-ID: <724299123.AA00000@blkcat.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!blkcat!Uucp

Show Full Headers
Complete Article Headers
From: John.Cocula@f347.n109.z1.fidonet.org (John Cocula)
Sender: Uucp@blkcat.UUCP
Path: arc1-ca.pugleaf.net!sparky!uunet!blkcat!Uucp
Newsgroups: comp.os.os2.programmer
Subject: Re: File Systems and Bac
Message-ID: <724299123.AA00000@blkcat.UUCP>
Date: Sun, 13 Dec 1992 17:09:04 -0500
Lines: 54