Next | Prev | Up | Top | Contents | Index

Creating Mnemonic Names for Device Files With ln

Device file names, for example /dev/dsk/dks0d1s0 and /dev/rdsk/dks0d2s7, can be difficult to remember and type. Mnemonic device files can solve this problem. They are filenames in the /dev directory that are symbolic links to the real device files. By default, IRIX has several of these mnemonic device file names. For example, /dev/root is a mnemonic device file name for /dev/dsk/dks0d1s0 (or whatever partition contains the Root filesystem) and /dev/rswap is a mnemonic device file name for /dev/rdsk/dks0d1s1 (or whatever partition is the swap partition). You can create additional mnemonic device file names using the ln command:

# ln device_file mnemonic_name 
For more information on the ln command, see the ln(1) reference page.



Next | Prev | Up | Top | Contents | Index