[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hsfs in hobbitclient-sunos.sh
- To: hobbit (at) hswn.dk
- Subject: hsfs in hobbitclient-sunos.sh
- From: Dominique Frise <Dominique.Frise (at) unil.ch>
- Date: Fri, 29 Sep 2006 07:22:01 +0200
- Organization: University of Lausanne
- User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.7) Gecko/20060919 SeaMonkey/1.0.5
Hi,
The FSTYPES in hobbitclient-sunos.sh does not exclude cdrom file systems (hsfs).
To correct:
[bb (at) iris bin]$ diff -u hobbitclient-sunos.sh hobbitclient-sunos.sh.dist
--- hobbitclient-sunos.sh Thu Sep 28 12:07:13 2006
+++ hobbitclient-sunos.sh.dist Sat Aug 19 10:20:00 2006
@@ -22,7 +22,7 @@
echo "[df]"
# All of this because Solaris df cannot show multiple fs-types, or exclude
certain fs types.
-FSTYPES=`/bin/df -n -l|awk '{print $3}'|egrep -v
"^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs|^lofs|^hsfs"|sort|uniq`
+FSTYPES=`/bin/df -n -l|awk '{print $3}'|egrep -v
"^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs|^lofs"|sort|uniq`
if test "$FSTYPES" = ""; then FSTYPES="ufs"; fi
set $FSTYPES
/bin/df -F $1 -k | grep -v " /var/run"
Dominique
UNIL - University of Lausanne