slices and file system
hi guys, is there any quicker way to show what file system my slices are?
for example i will do a : newfs -Nv /dev/rdsk/c1d1s0 , it will show me the file system is ufs. but what if i have lot of drives? do i have to repeat the above command for all the drives and slices? it is tedious. thanks. ps: some slices are not mounted. |
for the mounted file systems you can use df -T
For the unmounted you can try looking in /dev/fstab, but odds are they are already mounted. |
Quote:
|
oops, sorry didn't realize I was in Solaris.
|
The newfs command isn't correct, it will always tell you have an ufs filesystem regardless of what is there or not. You should use the fstyp command instead to identify what is on your slices and partitions.
eg: Code:
for i in /dev/dsk/c*s* /dev/dsk/c*p* |
All times are GMT -5. The time now is 09:33 AM. |