bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: df on AIX 4.3


From: Jeff Boerio
Subject: Re: df on AIX 4.3
Date: 26 Feb 2003 12:03:09 -0800

Jim,

Thanks for this ... didn't catch that in the man page.  Sigh.

It is interesting to note that Linux, Solaris, AIX 4.1, and HP all
report this NFS filesystem as "nfs".  AIX 4.3 reports the filesystem as
"nfs3".

This makes it difficult to write portable applications across the
different operating systems, unless you get into doing if/then/else
types of things, which is a PITA.

Don't know that there's much that can be done w/ df to overcome this.

     - Jeff

On Wed, 2003-02-26 at 09:24, Jim Meyering wrote:
> Jeff Boerio <address@hidden> wrote:
> > I played around with the source code a bit, and found that for this
> > particular fstype, it was expecting to see "nfs3".  So it looks like df
> > is working as expected.  So I'd like to change my bug request to a
> > feature enhancement.
> >
> > If I were to say "df -x nfs" it would be nice to see df look at all
> > fstypes that contain ^nfs and exclude them.  This would work for nfs,
> > nfs2, nfs3, etc.
> 
> How about this:
> 
> You can see the type that df gets for each partition with the
> --print-type (-T) option.  Then you can add an `-x TYPE' option
> to exclude each type that you want to exclude.
> 
> Or, more generally, if you're trying to exclude all non-local
> types, just use the --local (-l) option.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]