mount_memfs.1m (2010 09)

m
mount_memfs(1M) mount_memfs(1M)
NAME
mount_memfs: mount, umount - mount and unmount MemFS file systems
SYNOPSIS
/usr/sbin/mount
[-l][-p|-v
]
/usr/sbin/mount -a
[-F memfs][-eQ
]
/usr/sbin/mount
[-F memfs][-eQV][
-o specific_options ] directory
/usr/sbin/umount -a
[-F memfs][
-v]
/usr/sbin/umount
[-v][-V] 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 a removable file system, to directory , a directory on the file tree. direc-
tory , which must already exist, will become the name of the root of the newly mounted file system. direc-
tory must be given as an absolute path name.
mount can be invoked on any removable file system, except the
/ directory.
It is important to note that
mkfs is not needed for MemFS file systems. The MemFS file system is
created in memory on invoking mount (see mount(1M)). Files created on the MemFS file system will
reside in memory. These will be swapped out to swap device when there is a system memory pressure.
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 memfs is specified, all MemFS
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 memfs Specify the MemFS file system type (see fstyp (1M)).
-l Limit actions to local file systems only.
-o specific_options
Specify options specific to the MemFS file system type. specific_options is a list of
comma separated suboptions and/or keyword/attribute pairs intended for the MemFS
specific module of the command.
The following specific_options are valid on MemFS file systems.
defaults Use all default options.
size=size The size for the MemFS file system. This accounts for only the data in
files, metadata is not included. Append kb or KB to size to indicate the
value is in kilobytes, append mb or MB to indicate megabytes, or append
gb or GB to indicate gigabytes.
If
size is not specified or is specified as 0, the size of the file system is
not limited and can grow based on the available swap space. If specified,
it ensures that the file system does not grow beyond the specified size.
However, specifying size does not assure that the specified size will be
available for use since free space on MemFS file systems depends on avail-
able swap space at that instant.
See swapon (1M) for information about defining swap space. See WARN-
INGS for information about excessive use of swap space.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)