You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Nagarajan Ragunathan (JIRA)" <ji...@apache.org> on 2007/01/18 00:08:29 UTC

[jira] Created: (IO-110) FileSystemUtils.freeSpaceKb does not work on AIX

FileSystemUtils.freeSpaceKb does not work on AIX 
-------------------------------------------------

                 Key: IO-110
                 URL: https://issues.apache.org/jira/browse/IO-110
             Project: Commons IO
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: AIX operating system version 5.3 
$ uname 
AIX
$ oslevel -r
5300-04

            Reporter: Nagarajan Ragunathan


FileSystemUtils.freeSpaceKb does not work on AIX. Throws IOException . It is due to the format of 'df -k' output on AIX Operating System. 

$ df -k /
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           262144    168324   36%     3916    10% /

Note the fourth entry is %Used. 
'df -kt' command provides the format expected by freeSpaceKb method. 

$ df -kt /
Filesystem    1024-blocks      Used      Free %Used Mounted on
/dev/hd4           262144     93820    168324   36% /

So, for AIX operating system, change it to use 'df -kt ' instead of df -k 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (IO-110) FileSystemUtils.freeSpaceKb does not work on AIX

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated IO-110:
-----------------------------

    Fix Version/s: 1.4

Marking these as 1.4 fix versions - not that we'll have any access to said platforms so it's more a question of cleaning these issues up if we don't hear back by the time of 1.4.

> FileSystemUtils.freeSpaceKb does not work on AIX 
> -------------------------------------------------
>
>                 Key: IO-110
>                 URL: https://issues.apache.org/jira/browse/IO-110
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: AIX operating system version 5.3 
> $ uname 
> AIX
> $ oslevel -r
> 5300-04
>            Reporter: Nagarajan Ragunathan
>             Fix For: 1.4
>
>
> FileSystemUtils.freeSpaceKb does not work on AIX. Throws IOException . It is due to the format of 'df -k' output on AIX Operating System. 
> $ df -k /
> Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
> /dev/hd4           262144    168324   36%     3916    10% /
> Note the fourth entry is %Used. 
> 'df -kt' command provides the format expected by freeSpaceKb method. 
> $ df -kt /
> Filesystem    1024-blocks      Used      Free %Used Mounted on
> /dev/hd4           262144     93820    168324   36% /
> So, for AIX operating system, change it to use 'df -kt ' instead of df -k 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Closed: (IO-110) FileSystemUtils.freeSpaceKb does not work on AIX

Posted by "Nagarajan Ragunathan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nagarajan Ragunathan closed IO-110.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.4)
                   1.3.1

it works. 

> FileSystemUtils.freeSpaceKb does not work on AIX 
> -------------------------------------------------
>
>                 Key: IO-110
>                 URL: https://issues.apache.org/jira/browse/IO-110
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: AIX operating system version 5.3 
> $ uname 
> AIX
> $ oslevel -r
> 5300-04
>            Reporter: Nagarajan Ragunathan
>             Fix For: 1.3.1
>
>
> FileSystemUtils.freeSpaceKb does not work on AIX. Throws IOException . It is due to the format of 'df -k' output on AIX Operating System. 
> $ df -k /
> Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
> /dev/hd4           262144    168324   36%     3916    10% /
> Note the fourth entry is %Used. 
> 'df -kt' command provides the format expected by freeSpaceKb method. 
> $ df -kt /
> Filesystem    1024-blocks      Used      Free %Used Mounted on
> /dev/hd4           262144     93820    168324   36% /
> So, for AIX operating system, change it to use 'df -kt ' instead of df -k 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org