Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Release Notes for HP-UX 10.30: HP 9000 Computers > Chapter 7 Other Operating System and Subsystem Changes

File System Changes

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

Rock Ridge

For 10.10:

HP-UX 10.10 includes the Portable File System (PFS) from Young Minds Inc. PFS allows mounting of Rock Ridge, ISO 9660 or High Sierra CD-ROM disks. ISO and High Sierra file names are all uppercase 8.3;1 format, so they look like

 FOO.EXE;1

Rock Ridge extensions to ISO 9660 allow full POSIX semantics and POSIX-like file names, so the file name

  UFS_VNPS.C;1

becomes

  ufs_vnodeops.c

on a Rock Ridge CD-ROM.

Even on ISO or High Sierra disks, PFS mount options allow:

  • translation of file names from uppercase to lowercase.

  • suppression of ";1" version numbers

  • conversion of ";1" to ".1" suffix

CD-ROM disks mounted on a server machine may be exported to PFS clients.

Refer to the pfs(4) and pfs_mount(1M) manpages for more details.

Kernel-based support for CD-ROMS has also been extended to allow suppression of version numbers and lowercase matching and display of names. Refer to the mount_cdfs(1M) manpage and the description of the cdcase option.

Journaled File System

On HP-UX 10.0 and earlier releases, the High Performance File System (HFS) is the standard file system and is the only locally mounted read/write file system available. With HP-UX 10.01, however, non-root file systems can use the Journaled File System (referred to as either VxFS or JFS). HP-UX's implementation is based on the version from Veritas Software Inc.

VxFS is an extent-based journaling file system that offers fast file system recovery and online features such as online backup, online resizing, and online reorganization. It supports all existing file system interfaces except HP Access Control Lists (ACL) and B1 security features. VxFS cannot be a root or bootable file system in 10.01.

There are two VxFS products: base and advanced. The base VxFS file system has a fast recovery feature and is provided on all 10.01 systems. Advanced VxFS also includes all of the online features, and is available as an optional product.

HP-UX libraries and commands/utilities have been modified to support VxFS, and HP-UX commands have been updated to handle both HFS and VxFS as transparently as possible. You can continue to use all the commands you are used to, and they will continue to work with the HFS file system as they always have. These same commands also support VxFS, but will perhaps have different options that are meaningful to VxFS. Because all existing file system administration commands (such as mkfs, newfs, fsck, and mount) have been updated to support both HFS and VxFS, once a VxFS or HFS file system is created and mounted through SAM, SAM will set up the file system such that regular maintenance of the file systems will continue in a manner similar to previous system administration. SAM has been updated to support basic VxFS, with the exception of online resizing, online backup, and online reorganization, which must be done from the command line.

Your existing applications will continue to work with HFS, and most of them will also work with VxFS. The only applications that will not work with VxFS are those that are aware of HFS-specific information, such as HFS disk format, read/write HFS file systems using the raw or character device, and so on. These applications cannot deal with any file system types other than HFS because of their dependency on the HFS disk format. All applications that use portable file system interfaces such as those specified by POSIX, X/Open, AES, SVID, and so on will work with all file system types that support these interfaces.

For an HP-UX file system overview and information on converting a non-root HFS file system to VxFS, refer to Chapter 4, "Working with HP-UX File Systems," in the 10.01 version of the HP-UX System Administration Tasks manual.

Multiple File System Types

The interface for specifying and detecting file system types has been expanded in 10.01 so that file systems from HP and third-parties will be handled more consistently.

In 9.0, there is a constant in mount.h for each file system type: MOUNT_UFS, MOUNT_CDFS, and MOUNT_NFS. These constants are used in vfsmount(2), and are returned by stat(2), statfs(2), and statfsdev(3).

To handle more file systems on HP-UX 10.01, an interface similar to AT&T's SVR4 is used to specify the file system type. The following is a summary of changes:

  • vfsmount(2) is no longer supported, though existing calls still work. Use mount(2) instead.

  • mount(2) is still supported in its old form (HFS only), but also has a new form in which the file system type is specified as a string.

  • stat(2), statfs(2), and statfsdev(3) still return file system types as integers. For HFS, NFS, and CDFS, the mount constants in mount.h are still valid. However, the more general method for translating types from integers to strings, or the reverse, is to use sysfs(2), which works with both old and new file systems. Using sysfs(2) does the mapping at run time rather than compile time, which allows you to assign file system type numbers dynamically.

  • The new routines statvfs(2) and statvfsdev(3) return the file system type as a string directly. The older routines statfs(2) and statfsdev(3) are still supported.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997, Hewlett-Packard Development Company, L.P.