Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mkfdmn(8)

advfs(4)

showfdmn(8)

mount(8)

rmfdmn(8)  —  Maintenance

 

NAME

rmfdmn − removes a file domain

SYNOPSIS

/sbin/rmfdmn [-f] domain

domainSpecifies the name of an existing file domain. 

FLAGS

-fTurns off the message prompt. 

DESCRIPTION

The rmfdmn utility enables you to remove an unused file domain.  Before you can remove a file domain, unmount all filesets and clone filesets from the domain using the umount command.  If you try to remove a file domain that has mounted filesets, the system displays an error message indicating that a fileset is mounted.  AdvFS will not remove the file domain.  For each file domain you will be prompted:

rmfdmn accounts_dmn
rmfdmn: remove domain accounts_dmn? [yes/no]

If you answer n, the file domain remains. If you answer y, it is removed. 

The -f flag is useful for scripts when you do not want to be queried for each file domain.  If you choose the -f flag, no message prompt will display.  The rmfdmn command will operate as if you responded yes to the prompt. 

RESTRICTIONS

You must be the root user to use this command. 

To remove a domain, all filesets and clone filesets must be unmounted. 

You must update the /etc/fdmns directory to delete the file domain entry for the deleted file domain. 

EXAMPLES

The following example removes the accounts_dmn file domain. In this example, the credit_fs fileset is mounted on the /mnt3 directory and yes is selected at the verification prompt:

# umount /mnt3
# rmfdmn accounts_dmn
# rmfdmn: remove domain accounts_dmn? [yes/no]
# rmfdmn: domain accounts_dmn removed

FILES

/etc/fdmnsContains file domain names and devices. 

RELATED INFORMATION

 
mkfdmn(8), advfs(4), showfdmn(8), mount(8). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026