I want my Java application to check if the hard disk drive is full or not. If it is full I want the application to terminate itself. I could of course write 1 MB of dummy data to the disk and then delete it, but I was wondering if there is a smarter way. /Peter
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss