Error:
7/06/2005 23:18:18 de.axelwernicke.mypod.util.FileUtils
getSpaceLeft
WARNING: Operating system SunOS not supported yet.
Please contact me at axel.wernicke@gmx.de and leave
a message at http://www.sourceforge.net/projects/mypod
7/06/2005 23:18:18 de.axelwernicke.mypod.actions.
SynchronizeIPodAction$1 construct
INFO: space left on iPod : -1 Bytes
Fix:
Added 'SunOS' to Linux's getSpaceLeft method. Please
find attached patch
Test Result:
7/06/2005 23:09:05 de.axelwernicke.mypod.util.FileUtils
getSpaceLeftLinux
INFO: Executed command at system level was: df -k |
grep /mnt/ipod
7/06/2005 23:09:05 de.axelwernicke.mypod.util.FileUtils
getSpaceLeftLinux
INFO: line to get available space from was: /dev/dsk/
c3t0d0p2 38945728 11702784 27242944 31% /
mnt/ipod
7/06/2005 23:09:05 de.axelwernicke.mypod.util.FileUtils
getSpaceLeftLinux
INFO: token to get available space from was: 27242944
<snip>
INFO: space left on iPod : 25.98 GB
getSpaceLeft patch for SunOS