The following example uses the /etc/vfstab to determine the type of the /export file system.
$ grep /export /etc/vfstab /dev/dsk/c0t3d0s6 /dev/rdsk/c0t3d0s6 /export ufs 2 yes - $ |
The following example uses the /etc/mnttab file to determine the file system type of the currently mounted diskette (mounted by volume management).
$ grep /floppy /etc/mnttab /vol/dev/diskette0/unnamed_floppy /floppy/unnamed_floppy pcfs rw,nohidden, nofoldcase,dev=16c0009 89103376 $ |