ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzau8_5.4.0.1/hfsconcepts.htm

74 lines
4.7 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Hierarchical file system (HFS)" />
<meta name="abstract" content="A hierarchical file system (HFS) is a part of the operating system that includes the application programming interface (API) and the underlying file system (optical or otherwise) support." />
<meta name="description" content="A hierarchical file system (HFS) is a part of the operating system that includes the application programming interface (API) and the underlying file system (optical or otherwise) support." />
<meta name="DC.Relation" scheme="URI" content="rzau8concept.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="hfsconcepts" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Hierarchical file system (HFS) </title>
</head>
<body id="hfsconcepts"><a name="hfsconcepts"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Hierarchical file system (HFS) </h1>
<div><p>A hierarchical file system (HFS) is a part of the operating system
that includes the application programming interface (API) and the underlying
file system (optical or otherwise) support.</p>
<p>The HFS API makes it possible for an application that is written in a high-level
language to create, store, retrieve, and manipulate data on a directly attached
optical library device, LAN-attached optical library device, CD-ROM, or DVD
device. To find more information about HFS APIs, refer to the <a href="../apiref/api.htm">APIs topic</a> in the Programming topic collection
on the iSeries™ Information
Center.</p>
<div class="p">HFS API optical support consists of two parts: <ul><li>An application programming call interface to the hierarchical file system
to manipulate objects known as files and directories.</li>
<li>An optical or other registered file system that manages the storage devices
where the files and directories are stored.</li>
</ul>
</div>
<div class="p">HFS API optical functions include the following: <ul><li>Creating or deleting a directory</li>
<li>Opening, reading, or closing a directory</li>
<li>Opening, reading, writing, or closing a file</li>
<li>Locking or unlocking bytes in a file</li>
<li>Getting or setting the size of a file</li>
<li>Renaming, copying, deleting, or removing a file</li>
<li>Retrieving or changing directory entry attributes</li>
</ul>
</div>
<p>Applications use HFS APIs to manage stream files on an i5/OS™ system.
These stream files are also called objects to identify them as data elements
that do not have a conventional record structure. The object is treated as
a named byte stream of known length, whose size can vary from a few bytes
to megabytes.</p>
<p>HFS APIs allow applications to create and manage file objects on storage
devices and to perform input/output operations to those file objects. HFS
APIs allow applications to create and manage directory objects, which can
be thought of as a logical grouping of similar file objects.
These directory objects contain information about the file objects that belong
to that directory. Directories can be contained within directories resulting
in the hierarchical structure.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzau8concept.htm" title="Read this topic collection for basic concepts of optical device programming. Basic concepts that are described for optical device programming include the i5/OS optical storage system, integrated file system, hierarchical file system, and considerations for volumes.">Optical device programming concepts</a></div>
</div>
</div>
</body>
</html>