Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The Samba share is on a software RAID and mounted under /media/share. By default Finder reports the free disk space (in the status bar) from / but there is not much space left on this partition so I cannot write files to the Samba share. I tried to correct it with the dfree configuration option. I created the script for the dfree option and tested it on the command line (it works). My Mac OSX Lion however is ignoring the configuration and it not displaying the free space any more.

Any Ideas?

share|improve this question
add comment

1 Answer 1

My problem was caused by a bad dfree script, the following one fixed my problem:

#!/bin/sh
df $1 | tail -1 | awk '{print $(NF-4),$(NF-2)}'
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.