Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4057701

Need way to find free disk space

XMLWordPrintable

    • b39
    • generic, x86, sparc
    • generic, solaris_2.5.1, solaris_2.6, solaris_9, windows_95, windows_nt, windows_2000
    • Verified

      Name: mc57594 Date: 06/09/97


      The only way to find free disk space appears to be by a 'guess'
      algorithm that attempts to create different file sizes...not
      acceptable.

      ======================================================================

      Name: krT82822 Date: 04/13/99


      Please add someting like statfs() or GetFreeSpace(), that
      allows to determine number of total, used and free blocks
      on a filesystem to java.io.File.
      My program could be 100% Java, is this is solved.
      ======================================================================

      Name: krT82822 Date: 08/26/99


      Please fix bug ID 4071324 in time for the 1.3 fcs release.
      I know its in the database but some bugs just seem to slip by each release.

      Thanks,
      James

      8/26/99 eval1127@eng -- (dupe of 4057701)
      (Review ID: 94446)
      ======================================================================

      Name: rmT116609 Date: 08/26/2002


       DESCRIPTION OF THE PROBLEM :
      There is no way to determine free disk space in a platform-independant way.

      For each platform there exist a simple way to determine free disk space (or user-dependant quota) - but there is no api function in java available to
      use this required and often requested feature.

      (Review ID: 163627)
      ======================================================================1
      ###@###.### 2004-02-04
      ###@###.### 10/15/04 20:41 GMT

            iris Iris Clark
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: