Berkeley CSUA MOTD:Entry 15615
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/12/25 [General] UID:1000 Activity:popular
12/25   

1999/3/19-22 [Computer/SW/Languages/Perl] UID:15615 Activity:high
3/19    Is there a portable way (in Perl) to check for available disk space?
        looking at df output is not portable enough.
           \_ The check is needed as part of an installation program.
        \_ Huh?  You never run out of disk space on Modern Computers(TM)
           \_ Obviously you haven't downloaded porn.
              \_ You obviously have an ancient hard drive.  Even I can
                  download porn on my tiny computer.
                  \_ Obviously you're not downloading enuf porn.
                \_ I bought the Dell Porno Special with the 180 gig 11 disk
                   RAID5 array.  I don't think I'll need a new array for
                   atleast 4 or 5 weeks.
           \_ The check is needed as part of an installation program.
        \_ man statfs
           \_ that doesn't seem to work on perl for win32 systems.