[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3

mknfs Command

Purpose

Configures the system to run NFS.

Syntax

/usr/sbin/mknfs [ -I | -N | -B ]

Description

The mknfs command configures the system to run the Network File System (NFS) daemons. The mknfs command adds an entry to the inittab file so that the /etc/rc.nfs file is executed on system restart.

Flags

-B Adds an entry to the inittab file to execute the /etc/rc.nfs file on system restart. The mknfs command also executes the /etc/rc.nfs file immediately to start the NFS daemons. This flag is the default.
-I Adds an entry to the inittab file to execute the /etc/rc.nfs file on system restart.
-N Starts the /etc/rc.nfs file to start the NFS daemons immediately. When started this way, the daemons run until the next system restart.

Files

inittab Controls the initialization process of the system.
/etc/rc.nfs Contains the startup script for the NFS and NIS daemons.

Related Information

The chnfs command, mknfsexp command, mknfsmnt command, rmnfs command.

NFS Installation and Configuration in AIX 5L Version 5.2 System Management Guide: Communications and Networks.

Network File System (NFS) Overview for System Management in AIX 5L Version 5.2 System Management Guide: Communications and Networks.

List of NFS Commands.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]