mount(8cdfs)
Name
mount, umount − mount and unmount a ISO 9660 (CD-ROM) File System (CDFS)
Syntax
/etc/mount −t cdfs [ −r −o options ] device directory
/etc/umount [ −v ] directory
Description
The mount command allows you to mount an ISO 9660 or High Sierra (HSG) formatted file system onto a directory. Once a file system or directory has been mounted, it is treated as a file system.
The argument device must refer to a block special file.
The file directory must exist and must be a directory. It becomes the name of the newly mounted file system.
General users can mount file systems with certain restrictions in addition to those listed in mount(.).
The umount command unmounts the file system that was previously mounted on the specified directory.
Options
−rIndicates that the file system is to be mounted read only. Please note this is a mandatory option, and is appended to the mount string if not present.
−vTells what did or did not happen. (Verbose flag)
−o optionsSpecifies options as a sequence of comma-separated words from the list below. The defaults are: ro,defperm,pgthresh=64 The CDFS options are:
defpermFiles and directories recorded on an ISO 9660 formatted file system may or may not have permission bits. This options ignores these permissions bits, if present, and defaults all file and directory permissions to the value 0666, with a zero UID (owned by root). This is a default option since the permissions on most of the existing ISO 9660 formatted CD-ROM’s do not map into the UID scheme ULTRIX uses.
nodefpermUse the on-disk permission bits, if present. If a file or directory is not recorded with permissions bits, the 0666 default is used.
noversionIf a file recorded on an ISO 9660 formatted file system contains a version string, strip off the ’;#’ extension. This option should be used in conjunction with mounting a CD-ROM containing MS-DOS applications.
The option for umount is:
−vTells what did or did not happen. (Verbose flag)
Restrictions
If mounting of an ISO 9660 or HSG volume fails with
cdfs_mount: Operation Not Supported
refer to the cdfs() reference page for details pertaining to the correct system configuration file options which must exist prior to using the CDFS.
If the directory on which a file system is to be mounted is a symbolic link, the file system is mounted on the directory to which the symbolic link refers, rather than being mounted on top of the symbolic link itself.
Examples
The mount command invokes cdfs_mount to do its work. A sample mount command is:
# mount −t cdfs −o pgthresh=100 /dev/rz3c /cdrom
To mount the ISO 9660 formatted file system on the block device /dev/rz3c onto the local directory /cdfs with the file version strings stripped, type:
# mount −t cdfs −o noversion /dev/rz3c /cdfs
Files
/etc/fstab File system information file
/etc/cdfs_mount
CDFS-specific mount program
See Also
getmnt(2), mount(2), fstab(5), mount(8), umount(8), cdfs(5cdfs)