logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fs_rmmount - Removes a mount point

Description

       The fs rmmount command removes the mount point named by the -dir argument from the file system. The
       corresponding volume remains on its host partition or partitions, but is inaccessible if there are no
       other mount points for it.

Examples

       The following command removes the mount points jones and terry from the current  working  directory  (the
       /afs/example.com/usr directory).

          % fs rmmount jones terry

Name

       fs_rmmount - Removes a mount point

Options

-dir <directory>+
           Names  the  mount  point  to delete from the file system. The last element in the pathname must be an
           actual name, not a shorthand notation such as "dot" (".") or "dot dot" ("..").

           Specify the read/write path to the directory, to avoid the failure that results  from  attempting  to
           delete  a  mount  point  from  a read-only volume. By convention, the read/write path is indicated by
           placing  a  period  before  the  cell  name  at   the   pathname's   second   level   (for   example,
           /afs/.example.com).  For  further discussion of the concept of read/write and read-only paths through
           the filespace, see the fsmkmount reference page.

       -help
           Prints the online help for this command. All other valid options are ignored.

Privilege Required

       The  issuer  must  have  the  "d"  (delete) permission on the ACL of the directory that houses each mount
       point.

See Also

fs_lsmount(1), fs_mkmount(1)

Synopsis

fsrmmount-dir <directory>+ [-help]

       fsrm-d <directory>+ [-h]

See Also