3.2. File System Commands

The following list explains the file system commands presented.

disklabel

Writes disk geometry and other information to a disk attached to the target system.

df

Displays information about file system use such as total file system size, available space, inodes used and inodes available.

fsck

Checks the integrity of a UFS file system and attempts to fix any errors it finds.

fsck_msdos

Checks the integrity of an MS-DOS file system and attempts to fix any errors it finds.

mknod

Creates a special device driver file corresponding to a device attached to the C5 system.

mount

Mounts a file system at a specified mount point in the existing file system hierarchy.

newfs

Writes a UFS file system structure to a labelled disk attached to the target system.

newfs_msdos

Writes an MS-DOS file system structure to a labelled disk attached to the target system.

swapon

Activates a local swap partition that you have mounted.

umount

Removes a mounted file system from the file system hierarchy.