next up previous contents
Next: 4.8.1 /etc/vfstabの書式 Up: 4. Solarisのファイルシステム Previous: 4.7.1 umount

4.8 /etc/vfstab

Solarisでのファイルシステムのマウント操作は、システムの立ち上げ時に/etc/vfstabというファイルを参照して自動的に行われます。vfstabは、virtual file system table の略です。BSD系のUNIXでは /etc/fstab というファイル名になっています。

以下に、/etc/vfstabの例をあげます。

#device      device      mount      FS   fsck   mount   mount
#to mount    to fsck     point      type pass   at boot options
#
/proc      -      /proc     proc   -   no   -
fd         -      /dev/fd   fd     -   no   -
swap       -      /tmp      tmpfs  -   yes  -
#
/dev/dsk/c0t3d0s0   /dev/rdsk/c0t3d0s0  /    ufs    1  no   -
/dev/dsk/c0t3d0s6   /dev/rdsk/c0t3d0s6  /usr ufs    2  no   -
/dev/dsk/c0t3d0s1       -               -    swap   -  no   -
#
nfsipc1:/share/openwin  -   /usr/openwin2    nfs    -  yes   soft,bg      
nfsipc1:/share/man      -   /usr/share/man   nfs    -  yes   soft,bg
nfsipc1:/share/opt      -   /opt             nfs    -  yes   soft,bg



 

Noriyo Kanayama