Solaris Filesystem

Hi,

Is there a command that list the unmounted filesystems ?

Thank you

Not really try this:

!/bin/ksh
nawk '/^#/ || /^\/proc/ || /^fd/ || /swap/ {next} {print $3}' /etcvfstab |
while read dir dummy
do
  [ -d $dir ] && echo "$dir mounted" || echo "$dir not mounted"
done


I actually formated 20 disks and created 20 filesystems and never mounted. I want to mount all those unused filesystems.

Thank you

where is the problem in mounting them?

Here is a command that will help you identifying all file systems presents on your disks.

#!/bin/ksh
for i in /dev/dsk/*
do
   fstyp $i >/dev/null 2>&1 && echo ==== $i $(fstyp $i) ====
done
1 Like