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
HP-UX Reference > M

mount_cdfs(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

mount_cdfs: mount, umount — mount and unmount CDFS file systems

SYNOPSIS

/usr/sbin/mount [-l] [-p|-v]

/usr/sbin/mount -a [-F cdfs] [-eQ]

/usr/sbin/mount [-F cdfs] [-eQrV] [-o specific_options] {special|directory}

/usr/sbin/mount [-F cdfs] [-eQrV] [-o specific_options] special directory

/usr/sbin/umount -a [-F cdfs] [-v]

/usr/sbin/umount [-v] [-V] {special|directory}

DESCRIPTION

The mount command mounts file systems. Only a superuser can mount file systems. Other users can use mount to list mounted file systems.

The mount command attaches special, a removable file system, to directory, a directory on the file tree. directory, which must already exist, will become the name of the root of the newly mounted file system. special and directory must be given as absolute path names. If either special or directory is omitted, mount attempts to determine the missing value from an entry in the /etc/fstab file. mount can be invoked on any removable file system, except /.

If mount is invoked without any arguments, it lists all of the mounted file systems from the file system mount table, /etc/mnttab.

The umount command unmounts mounted file systems. Only a superuser can unmount file systems.

Options (mount)

mount recognizes the following options:

-a

Attempt to mount all file systems described in /etc/fstab. All optional fields in /etc/fstab must be included and supported. If -F cdfs is specified, all CDFS file systems in /etc/fstab are mounted. If noauto is specified in an entry's option list, this entry is skipped. File systems are not necessarily mounted in the order listed in /etc/fstab.

-e

Verbose mode. Write a message to standard output indicating which file system is being mounted.

-F cdfs

Specify the CDFS file system type (see fstyp(1M)).

-l

Limit actions to local file systems only.

-o specific_options

Specify options specific to the CDFS file system type. specific_options is a list of comma separated suboptions and/or keyword/attribute pairs intended for the CDFS specific module of the command.

The following specific_options are valid on CDFS file systems.

cdcase

Suppress the display of version numbers. Show and match file names as lower case.

rr

Use Rock Ridge extension to the ISO-9660 file system (default).

norr

Do not use Rock Ridge extension to the ISO-9660 file system.

defaults

Use all default options. When given, this must be the only option specified.

ro

Mount read-only (default).

suid

Allow set-user-ID execution (default).

nosuid

Do not allow set-user-ID execution.

-p

Report the list of mounted file systems in the /etc/fstab format.

-Q

Prevent the display of error messages resulting from an attempt to mount already mounted file systems.

-r

Mount the specified file system as read-only. This option is equivalent to the -o ro specific_option. For CDFS file systems this is a default option.

-v

Report the regular output with file system type and flags; however, directory and special fields are reversed.

-V

Echo the completed command line, but performs no other action. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab. This option allows the user to verify the command line.

Options (umount)

umount recognizes the following options:

-a

Attempt to unmount all file systems described in /etc/mnttab. All optional fields in /etc/mnttab must be included and supported. If -F cdfs is specified, all CDFS file systems in /etc/mnttab are unmounted. File systems are not necessarily unmounted in the order listed in /etc/mnttab.

-F cdfs

Specify the CDFS file system type (see fstyp(1M)).

-v

Verbose mode. Write a message to standard output indicating which file system is being unmounted.

-V

Echo the completed command line, but performs no other action. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab. This option allows the user to verify the command line.

DIAGNOSTICS

umount complains if the special file is not mounted or if it is busy. The file system is busy if it contains an open file or some logged-in user's working directory.

EXAMPLES

Mount a local CDFS disk:

mount -F cdfs /dev/disk/disk4 /cdrom

Unmount a local CDFS disk:

umount /dev/disk/disk4

WARNINGS

Some degree of validation is done on the file system, however, it is generally unwise to mount file systems that are defective, corrupt, or of unknown origin.

AUTHOR

mount was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems.

FILES

/etc/fstab

Static information about the file systems

/etc/mnttab

Mounted file system table

STANDARDS CONFORMANCE

mount: SVID3

umount: SVID3

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