Integrated File System
Total Page:16
File Type:pdf, Size:1020Kb
IBM i Version 7.2 Files and file systems Integrated file system IBM Note Before using this information and the product it supports, read the information in “Notices” on page 147. This edition applies to IBM i 7.2 (product number 5770-SS1) and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not run on all reduced instruction set computer (RISC) models nor does it run on CISC models. This document may contain references to Licensed Internal Code. Licensed Internal Code is Machine Code and is licensed to you under the terms of the IBM License Agreement for Machine Code. © Copyright International Business Machines Corporation 1999, 2013. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Integrated file system............................................................................................1 What's new for IBM i 7.2..............................................................................................................................1 PDF file for Integrated file system...............................................................................................................2 Overview of the integrated file system........................................................................................................2 What the integrated file system is..........................................................................................................2 Why use the integrated file system........................................................................................................3 Integrated file system concepts.................................................................................................................. 4 Directory................................................................................................................................................. 4 Link........................................................................................................................................................11 Path name.............................................................................................................................................14 Stream file............................................................................................................................................ 15 Name continuity................................................................................................................................... 16 Extended attributes..............................................................................................................................17 Scanning support..................................................................................................................................18 File systems............................................................................................................................................... 22 File system comparison....................................................................................................................... 23 "root" (/) file system............................................................................................................................. 28 Open systems file system (QOpenSys)................................................................................................30 User-defined file systems (UDFSs)...................................................................................................... 32 Library file system (QSYS.LIB)............................................................................................................. 40 Independent ASP QSYS.LIB.................................................................................................................43 Document library services file system (QDLS).................................................................................... 46 Optical file system (QOPT)................................................................................................................... 48 IBM i NetClient file system (QNTC)......................................................................................................50 IBM i file server file system (QFileSvr.400)......................................................................................... 55 Network File System (NFS).................................................................................................................. 59 Accessing the integrated file system.........................................................................................................64 Accessing using menus and displays...................................................................................................65 Accessing using CL commands............................................................................................................66 Accessing using APIs........................................................................................................................... 88 Accessing using a PC............................................................................................................................88 Accessing using IBM Navigator for i.................................................................................................... 88 Accessing using IBM i NetServer......................................................................................................... 89 Accessing using File Transfer Protocol................................................................................................ 90 Integrated file system conversion.............................................................................................................91 Converting directories from *TYPE1 to *TYPE2.................................................................................. 91 Converting names to support additional characters...........................................................................95 Journaling objects......................................................................................................................................98 Journaling overview............................................................................................................................. 98 Starting journaling..............................................................................................................................102 Changing journaling............................................................................................................................102 Ending journaling................................................................................................................................102 Reclaim operation of the "root" (/), QOpenSys, and user-defined file systems.................................... 103 Reclaim Object Links (RCLLNK) and Reclaim Storage (RCLSTG) commands comparison....................................................................................................................................103 Reclaim Object Links (RCLLNK) command........................................................................................105 Re-creation of integrated file system provided objects....................................................................105 Examples: Reclaim Object Links (RCLLNK) command.........................................................106 Programming support..............................................................................................................................107 Copying data between stream files and database files.................................................................... 107 Copying data between stream files and save files............................................................................ 110 iii Performing operations using APIs.....................................................................................................111 Socket support................................................................................................................................... 121 Naming and international support.....................................................................................................121 Data conversion..................................................................................................................................122 Example: Integrated file system C functions.................................................................................... 122 Working with files and folders using IBM Navigator for i........................................................................127 Creating a folder.................................................................................................................................127 Removing a file or folder.................................................................................................................... 128 Moving files or folders to another file system................................................................................... 128 Setting permissions............................................................................................................................129 Setting up file text conversion........................................................................................................... 130 Sending a file or folder to another system.........................................................................................130