As far as I can tell what the script does is run "mount -t" and then whatever types you input after that. This will output something like the following:
It then feeds this to a processor that will separate out the device name and the mount point for each line that the mount command output. I will use "/dev/mapper/system-opt on /opt type reiserfs (rw,acl,user_xattr)" in the following examples.
/dev/sda2 on / type reiserfs (rw,acl,user_xattr)
/dev/sda1 on /boot type ext3 (rw,acl,user_xattr)
/dev/mapper/system-opt on /opt type reiserfs (rw,acl,user_xattr)
After separating out the device name and the mount point it then builds the following line:
so in my case the command it will build is:
df -mlP device name | tail -1
Which outputs a line like:
df -mlP /dev/mapper/system-opt | tail -1
This line is then parsed to grab the total blocks, used blocks, and available blocks
/dev/mapper/system-opt 102397 16346 86052 16% /opt
After this it does some housekeeping on all the variables and finally writes a line like:
to the log file.
info 2008-04-03 22:09:29 DISK: mail: dev: /dev/mapper/system-opt, mp: /opt, tot: 102397 avail: 86052
My guess is that the df -mlP command is not liking something that you have done...try running through this manually to see if you can see the error.