mkfset(8) — Maintenance
NAME
mkfset − creates a fileset in an existing file domain
SYNOPSIS
/sbin/mkfset domain setname
domainSpecifies the name of an existing file domain.
setnameSpecifies the name of the fileset to be created in the specified file domain.
DESCRIPTION
The mkfset command creates a fileset within an existing file domain. You must create at least fileset per file domain; however, you can create multiple filesets within a file domain. You can mount and unmount each fileset independently of the other filesets in the file domain. You can assign block and file usage limits (quotas) to filesets.
Use the following commands to manipulate filesets:
showfsetsDisplays the filesets associated with a domain.
rmfsetRemoves a fileset (and all of its files) from the file domain.
renamefsetAssigns a new name to an existing fileset.
chfsetsChanges fileset attributes; specifically fileset quotas.
For more information, see the reference pages for each command.
RESTRICTIONS
You must have root-user privilege to access this command.
Each fileset within a domain must have a unique name of up to 31 characters. The space character and the # : ∗ ? characters are invalid for fileset names.
EXAMPLE
The following example creates two filesets, credit_fs and debit_fs, within an existing domain called accounts_dmn.
# mkfset accounts_dmn credit_fs
# mkfset accounts_dmn debit_fs
To mount the newly created credit_fs fileset on the /mnt/credit directory, enter:
# mount -t advfs accounts_dmn#credit_fs /mnt/credit
You can add filesets to the /etc/fstab file in the same manner that you add any file system. Once added, filesets are mounted each time you reboot the system and fileset quotas are enabled. For example, to automatically mount the credit_fs fileset, add the following line to your fstab file:
accounts_dmn#credit_fs /mnt/credit advfs rq, userquota, groupquota
FILES
.tagsA permanent directory that is reserved for future use.
RELATED INFORMATION
advfs(4), chfsets(8), mkfdmn(8), renamefset(8), rmfset(8), showfdmn(8), showfsets(8).