FlameDuck #1 On Linux (and Mac I imagine) you should parse /etc/fstab. You're after the value in the second column. A StringTokenizer from the code archives should do you well.