System Administration Guide: Devices and File Systems

ProcedureHow to Find File System Names

Steps
  1. Display the contents of the /etc/vfstab file.


    $ more /etc/vfstab
    
  2. Look in the mount point column for the name of the file system.

  3. Use the directory name listed in the mount point column when you back up the file system.


Example 23–1 Finding File System Names

In this example, the file systems to be backed up are root (/), /usr, /datab, and /export/home.


$ more /etc/vfstab
#device           device             mount        FS   fsck mount   mount
#to mount         to fsck            point        type pass at boot options
#
fd                -                  /dev/fd      fd    -    no      -
/proc             -                  /proc        proc  -    no      -
/dev/dsk/c0t0d0s1 -                  -            swap  -    no      -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 /            ufs   1    no      -
/dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr         ufs   1    no      -
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /datab       ufs   2    yes     -
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs   2    yes     -
swap              -                  /tmp         tmpfs -    yes     -