Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cdfs(4) [osf1 man page]

cdfs(4) 						     Kernel Interfaces Manual							   cdfs(4)

NAME
cdfs - The Compact Disk-Read Only Memory File System (CDFS) DESCRIPTION
The ISO 9660 standard describes volume and file structures for information exchange on a Compact Disk-Read Only Memory (CD-ROM) volume. CDFS supports mounting, as another local file system type, CD-ROMs that comply to the standard. Once mounted, files and directories recorded on the CD-ROM become accessible in a read-only manner through system calls and commands. Support of the standard is limited to Interchange Level 2 with the exception of multiple volume semantics, which are supported. Refer to the international standard ISO 9660-1988 for additional information pertaining to the actual standard. The CDFS behaves the same as any read-only file system, and additionally supports the following semantics: The CDFS can be exported by NFS Users can mount other file system types (UFS, NFS, AdvFS) onto directories recorded on a CD-ROM volume CD-ROM volumes can be recorded in ISO 9660-1988, Interchange level 2, or (for backward compatibility) High Sierra Group (HSG) format The data on a CD-ROM volume that is recorded as part of a multiple volume set or consists of a single volume is made available when the volume is mounted File systems on a CD- ROM volume can be accessed locally and remotely The CDFS can be organized on a CD-ROM volume in multiple sessions. The contents of all sessions is available as one file system; individual sessions are not separately available. The CDFS also supports CD-ROMs recorded using the Rock Ridge Interchange Protocol, Revision 1.09, August 1991. Rock Ridge specifies the use of the extension fields that are defined by ISO-9660:1988, and it uses those extensions to provide the following information: File owner, file group, file permissions Additional file types (symbolic links, device special files, named pipes) setuid, setgid, and sticky bits Hard link counts POSIX file names (mixed case names, unstructured names, and longer names than ISO-9660:1988 allows) Deep directory hierarchies (greater than 8 levels) File time stamps Refer to the Rock Ridge specification for additional information about the extensions. The CDFS also supports the XCDR extensions (X/Open Preliminary Specification (1991) CD-ROM Support Component). These XCDR extensions add the following support: Users can examine selected ISO 9660 attributes through defined utilities and shared libraries A system administrator can substitute different file protections, owners, and file names for files on a CD-ROM volume. RELATED INFORMATION
mount(8), cddevsuppl(8), cdsuf(1), cd_getdevmap(3), cd_setdevmap(3), and cd_suf(3) delim off cdfs(4)

Check Out this Related Man Page

cd_type(3)						     Library Functions Manual							cd_type(3)

NAME
cd_type - Determines the type of file system recorded on a CD-ROM LIBRARY
Rock Ridge and X/Open Extensions to the CDFS library (libcdrom.so, libcdrom.a) SYNOPSIS
#include <sys/cdrom.h> int cd_type ( char *path ); PARAMETERS
Points to a pathname naming a file or directory within the CD-ROM File System hierarchy, or to a pathname naming the block special file for the CD-ROM File System. DESCRIPTION
The cd_type routine determines the type of file system recorded on the CD-ROM pointed to by *path. RETURN VALUES
If successful, the function returns one of the following values, which are defined in cdfs/xcdr.h, an include file that is called into sys/cdrom.h: {CD_ISO9660} CD-ROM is recorded according to ISO 9660. {CD_HSG} CD-ROM is recorded according to High Sierra Group. {CD_RRIP} CD-ROM is recorded according to ISO 9660 with the Rock Ridge Extension. If unsuccessful, the integer -1 is returned and errno is set to indicate the error. ERRORS
The function will fail if: Search permission is denied for a directory in *path or read and execute permission are denied for the named file, or read permission is denied on the block special file pointed to by *path. The address of *path is invalid. A signal was caught during execution of the function. The argument *path points to a file or directory that is not within the CD-ROM file hierarchy. {OPEN_MAX} file descriptors are currently open in the calling process. [Tru64 UNIX] Either the OPEN_MAX value or the per-process soft descriptor limit is checked. The length of the *path string exceeds {PATH_MAX}, or a pathname component is longer than {NAME_MAX} while {_POSIX_NO_TRUNC} is in effect. The system file table is full. A component of *path does not exist, or the *path argument points to an empty string. A component of the *path prefix is not a directory. The CD-ROM is not in the drive, or a read error occurred. The named file is a block special file and the device associated with the special file does not exist. RELATED INFORMATION
Files: cdfs/xcdr.h, sys/cdrom.h. delim off cd_type(3)
Man Page