[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hobbitclient-sunos.sh FSTYPES determination problem
- To: <hobbit (at) hswn.dk>
- Subject: hobbitclient-sunos.sh FSTYPES determination problem
- From: Gräub Roland <roland.graeub (at) rtc.ch>
- Date: Fri, 4 Jan 2008 14:28:45 +0100
- References: <4AC209E5463B744F9F34FA57C0DF51340816AF2D (at) PRVPVSMAIL09.corp.twcable.com>
- Thread-index: AchOBIRNzkwyUr93Q/mb4riqNIGKagACyjlQ
- Thread-topic: hobbitclient-sunos.sh FSTYPES determination problem
Hello
In the file hobbitclient-sunos.sh the FSTYPES entry can lost filesystems with long mountpoints.
Happen here with vxfs filesystem;
$/bin/df -n -l
/ : ufs
/devices : devfs
/system/contract : ctfs
/proc : proc
/dev/vx/rdmp : tmpfs
/unshared/AA04/oracle: vxfs
/unshared/AA04/oracle/data1: vxfs
/unshared/AA04/oracle/data2: vxfs
/unshared/AA04/oracle/data3: vxfs
with the awk '{print $3}' command in FSTYPES the vxfs ist missed because there is no space.
Solution for us; adding seperator to awk -F":" '{print $2}'
Regards
Roland