You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/12 08:51:29 UTC

[jira] Created: (IO-83) Bug with 'df' command on AIX 5.3

Bug with 'df' command on AIX 5.3
--------------------------------

         Key: IO-83
         URL: http://issues.apache.org/jira/browse/IO-83
     Project: Commons IO
        Type: Bug

    Reporter: Henri Yandell
 Attachments: FileSystemUtils.java


Reported via commons-owner@
--------------------------------------------

From: James Urie
Sent: Tuesday, July 11, 2006 8:51 AM
To: 'commons-dev-subscribe@jakarta.apache.org'
Subject: New AIX fix?



Hello,



I had to change the "commons-io" code to allow for usage on AIX 5.3.
Attached is the file with changes.

The long and short of the change is that the "df" command used in the
File System Utils classes requires

A "P" to be added to the switch to enable "POSIX" capability.


James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://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-83) Bug with 'df' command on AIX 5.3

Posted by "Magnus Grimsell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-83?page=all ]

Magnus Grimsell updated IO-83:
------------------------------

    Attachment: FileSystemUtils.java
                FileSystemUtilsTestCase.java

HP-UX has the same issue as AIX. The attached file contains a fix where the method freeSpaceUnix takes a boolean posix which indicates whether to add the -P flag or not. For HP-UX and AIX psix arg is set to true.

> Bug with 'df' command on AIX 5.3
> --------------------------------
>
>                 Key: IO-83
>                 URL: http://issues.apache.org/jira/browse/IO-83
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>            Reporter: Henri Yandell
>             Fix For: 1.3
>
>         Attachments: FileSystemUtils.java, FileSystemUtils.java, FileSystemUtilsTestCase.java
>
>
> Reported via commons-owner@
> --------------------------------------------
> From: James Urie
> Sent: Tuesday, July 11, 2006 8:51 AM
> To: 'commons-dev-subscribe@jakarta.apache.org'
> Subject: New AIX fix?
> Hello,
> I had to change the "commons-io" code to allow for usage on AIX 5.3.
> Attached is the file with changes.
> The long and short of the change is that the "df" command used in the
> File System Utils classes requires
> A "P" to be added to the switch to enable "POSIX" capability.
> James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://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] Resolved: (IO-83) Bug with 'df' command on AIX 5.3

Posted by "Stephen Colebourne (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-83?page=all ]

Stephen Colebourne resolved IO-83.
----------------------------------

    Resolution: Fixed

Change made in rv436964

Please retest using nighly build at http://people.apache.org/builds/jakarta-commons/nightly/commons-io/ from the 26thAug

We'd appreciate feedback before releasing the code.

> Bug with 'df' command on AIX 5.3
> --------------------------------
>
>                 Key: IO-83
>                 URL: http://issues.apache.org/jira/browse/IO-83
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.2
>            Reporter: Henri Yandell
>         Assigned To: Stephen Colebourne
>             Fix For: 1.3
>
>         Attachments: FileSystemUtils.java, FileSystemUtils.java, FileSystemUtilsTestCase.java
>
>
> Reported via commons-owner@
> --------------------------------------------
> From: James Urie
> Sent: Tuesday, July 11, 2006 8:51 AM
> To: 'commons-dev-subscribe@jakarta.apache.org'
> Subject: New AIX fix?
> Hello,
> I had to change the "commons-io" code to allow for usage on AIX 5.3.
> Attached is the file with changes.
> The long and short of the change is that the "df" command used in the
> File System Utils classes requires
> A "P" to be added to the switch to enable "POSIX" capability.
> James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://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


RE: [jira] Updated: (IO-83) Bug with 'df' command on AIX 5.3

Posted by James Urie <ju...@adobe.com>.
Hi Henri,

I have AIX and I reported it.  The code I gave was just the quick fix I
used to solve the problem in the interm.  Basically, adding the "P"
switch as in:

df -kP

solves the problem.  The AIX man pages identified this as a POSIX
switch, which makes sense.  It solved my problem although the code I
used should be cleaned up a bit.

If you get it fixed, just send me your version of the fix and source and
I will test it for you.

Thanks,

James Urie

-----Original Message-----
From: Henri Yandell (JIRA) [mailto:jira@apache.org] 
Sent: Wednesday, July 12, 2006 11:31 PM
To: commons-dev@jakarta.apache.org
Subject: [jira] Updated: (IO-83) Bug with 'df' command on AIX 5.3

     [ http://issues.apache.org/jira/browse/IO-83?page=all ]

Henri Yandell updated IO-83:
----------------------------

    Fix Version: 1.3
    Description: 
Reported via commons-owner@
--------------------------------------------

From: James Urie
Sent: Tuesday, July 11, 2006 8:51 AM
To: 'commons-dev-subscribe@jakarta.apache.org'
Subject: New AIX fix?



Hello,



I had to change the "commons-io" code to allow for usage on AIX 5.3.
Attached is the file with changes.

The long and short of the change is that the "df" command used in the
File System Utils classes requires

A "P" to be added to the switch to enable "POSIX" capability.


James Urie

  was:

Reported via commons-owner@
--------------------------------------------

From: James Urie
Sent: Tuesday, July 11, 2006 8:51 AM
To: 'commons-dev-subscribe@jakarta.apache.org'
Subject: New AIX fix?



Hello,



I had to change the "commons-io" code to allow for usage on AIX 5.3.
Attached is the file with changes.

The long and short of the change is that the "df" command used in the
File System Utils classes requires

A "P" to be added to the switch to enable "POSIX" capability.


James Urie


Hard to test (anyone got an AIX?) but we signed up for that by having a
method that wasn't platform independent.

> Bug with 'df' command on AIX 5.3
> --------------------------------
>
>          Key: IO-83
>          URL: http://issues.apache.org/jira/browse/IO-83
>      Project: Commons IO
>         Type: Bug

>     Reporter: Henri Yandell
>      Fix For: 1.3
>  Attachments: FileSystemUtils.java
>
> Reported via commons-owner@
> --------------------------------------------
> From: James Urie
> Sent: Tuesday, July 11, 2006 8:51 AM
> To: 'commons-dev-subscribe@jakarta.apache.org'
> Subject: New AIX fix?
> Hello,
> I had to change the "commons-io" code to allow for usage on AIX 5.3.
> Attached is the file with changes.
> The long and short of the change is that the "df" command used in the
> File System Utils classes requires
> A "P" to be added to the switch to enable "POSIX" capability.
> James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://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


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


[jira] Updated: (IO-83) Bug with 'df' command on AIX 5.3

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-83?page=all ]

Henri Yandell updated IO-83:
----------------------------

    Fix Version: 1.3
    Description: 
Reported via commons-owner@
--------------------------------------------

From: James Urie
Sent: Tuesday, July 11, 2006 8:51 AM
To: 'commons-dev-subscribe@jakarta.apache.org'
Subject: New AIX fix?



Hello,



I had to change the "commons-io" code to allow for usage on AIX 5.3.
Attached is the file with changes.

The long and short of the change is that the "df" command used in the
File System Utils classes requires

A "P" to be added to the switch to enable "POSIX" capability.


James Urie

  was:

Reported via commons-owner@
--------------------------------------------

From: James Urie
Sent: Tuesday, July 11, 2006 8:51 AM
To: 'commons-dev-subscribe@jakarta.apache.org'
Subject: New AIX fix?



Hello,



I had to change the "commons-io" code to allow for usage on AIX 5.3.
Attached is the file with changes.

The long and short of the change is that the "df" command used in the
File System Utils classes requires

A "P" to be added to the switch to enable "POSIX" capability.


James Urie


Hard to test (anyone got an AIX?) but we signed up for that by having a method that wasn't platform independent.

> Bug with 'df' command on AIX 5.3
> --------------------------------
>
>          Key: IO-83
>          URL: http://issues.apache.org/jira/browse/IO-83
>      Project: Commons IO
>         Type: Bug

>     Reporter: Henri Yandell
>      Fix For: 1.3
>  Attachments: FileSystemUtils.java
>
> Reported via commons-owner@
> --------------------------------------------
> From: James Urie
> Sent: Tuesday, July 11, 2006 8:51 AM
> To: 'commons-dev-subscribe@jakarta.apache.org'
> Subject: New AIX fix?
> Hello,
> I had to change the "commons-io" code to allow for usage on AIX 5.3.
> Attached is the file with changes.
> The long and short of the change is that the "df" command used in the
> File System Utils classes requires
> A "P" to be added to the switch to enable "POSIX" capability.
> James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://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-83) Bug with 'df' command on AIX 5.3

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-83?page=all ]

Henri Yandell updated IO-83:
----------------------------

    Attachment: FileSystemUtils.java

> Bug with 'df' command on AIX 5.3
> --------------------------------
>
>          Key: IO-83
>          URL: http://issues.apache.org/jira/browse/IO-83
>      Project: Commons IO
>         Type: Bug

>     Reporter: Henri Yandell
>  Attachments: FileSystemUtils.java
>
> Reported via commons-owner@
> --------------------------------------------
> From: James Urie
> Sent: Tuesday, July 11, 2006 8:51 AM
> To: 'commons-dev-subscribe@jakarta.apache.org'
> Subject: New AIX fix?
> Hello,
> I had to change the "commons-io" code to allow for usage on AIX 5.3.
> Attached is the file with changes.
> The long and short of the change is that the "df" command used in the
> File System Utils classes requires
> A "P" to be added to the switch to enable "POSIX" capability.
> James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://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-83) Bug with 'df' command on AIX 5.3

Posted by "Stephen Colebourne (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-83?page=all ]

Stephen Colebourne updated IO-83:
---------------------------------

    Affects Version/s: 1.2
             Assignee: Stephen Colebourne

> Bug with 'df' command on AIX 5.3
> --------------------------------
>
>                 Key: IO-83
>                 URL: http://issues.apache.org/jira/browse/IO-83
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.2
>            Reporter: Henri Yandell
>         Assigned To: Stephen Colebourne
>             Fix For: 1.3
>
>         Attachments: FileSystemUtils.java, FileSystemUtils.java, FileSystemUtilsTestCase.java
>
>
> Reported via commons-owner@
> --------------------------------------------
> From: James Urie
> Sent: Tuesday, July 11, 2006 8:51 AM
> To: 'commons-dev-subscribe@jakarta.apache.org'
> Subject: New AIX fix?
> Hello,
> I had to change the "commons-io" code to allow for usage on AIX 5.3.
> Attached is the file with changes.
> The long and short of the change is that the "df" command used in the
> File System Utils classes requires
> A "P" to be added to the switch to enable "POSIX" capability.
> James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://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-83) Bug with 'df' command on AIX 5.3

Posted by "Stephen Colebourne (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-83?page=all ]

Stephen Colebourne updated IO-83:
---------------------------------

    Component/s: Utilities

> Bug with 'df' command on AIX 5.3
> --------------------------------
>
>                 Key: IO-83
>                 URL: http://issues.apache.org/jira/browse/IO-83
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>            Reporter: Henri Yandell
>             Fix For: 1.3
>
>         Attachments: FileSystemUtils.java
>
>
> Reported via commons-owner@
> --------------------------------------------
> From: James Urie
> Sent: Tuesday, July 11, 2006 8:51 AM
> To: 'commons-dev-subscribe@jakarta.apache.org'
> Subject: New AIX fix?
> Hello,
> I had to change the "commons-io" code to allow for usage on AIX 5.3.
> Attached is the file with changes.
> The long and short of the change is that the "df" command used in the
> File System Utils classes requires
> A "P" to be added to the switch to enable "POSIX" capability.
> James Urie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://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