ADDFSTABENTRY(1M) ADDFSTABENTRY(1M)
addfstabentry - add a filesystem entry into the /etc/fstab file.
/usr/sysadm/privbin/addfstabentry -d fsMountPoint -s fsSource -t fileType
-o options [ -cu ]
Addfstabentry adds a mount entry into /etc/fstab file. The
filesystem/directory is not mounted. Use mountfs(1M) to mount it. Refer
to fstab(4) for a detailed description of the input parameters.
-d fsMountPoint
The mount point for the filesystem
-s fsSource
The filesystem name. It can be a special file under /dev or a nfs
filesystem specification such as host:/directory.
-t FileType
The supported types are efs, xfs,nfs, fd, cachefs, dos, hfs, and
iso9660.
-o options
options are the same as defined in fstab(4).
-c Specifies that if fsMountPoint doesn't exist, the directory is
created.
-u Specifies that the entry in /etc/fstab that matches fsMountPoint
should be updated with the input parameters. If -u is not specified
and the entry exists, it causes an error exit and the entry is not
added.
/etc/fstab Static information about filesystems.
sysmgr(1M), runpriv(1M), fstab(4), mountfs(1M), filesystems(4).
PPPPaaaaggggeeee 1111 [ Back ]
|