It works everywhere else, but not on AIX

Bob Andrews bob at ibmpa.awdpa.ibm.com
Wed Apr 17 11:35:47 AEST 1991


In article <1991Apr16.045432.10283 at ibmpa,awdpa.ibm.com>, jsalter at ibmpa.awdpa.ibm.com writes:
|> In article <1991Apr15.182214.10391 at ux1.cso.uiuc.edu> phil at ux1.cso.uiuc.edu (Phil Howard KA9WGN) writes:
|> >First of all, the "df" command does not always know how to find the file
|> >system a particular path name it is given is on.  This is what I get:
|> 
|> >	phil at ux2:/u/phil 2> df .
|> >	Filesystem    Total KB    free %used   iused %iused Mounted on
|> >	Cannot find file system .
|> >	phil at ux2:/u/phil 3> pwd
|> >	/u/phil
|> 
|> >If IBM "designed" it this way... WHY?
|> 
|> IBM did not design it this way.
|> When I try it on both 3003 and 3005 systems, I get the proper answer:
|> 
|> 	% pwd
|> 	/u/jsalter
|> 	% df .
|> 	Filesystem    Total KB    free %used   iused %iused Mounted on
|> 	/dev/lv02       200704    4980   97%   12428    24% /u
|> 	%
|> 

I found that df works just fine...as long as user bin has access to the
directory you were cd'ed into.  If not, well, df is setuid to bin, and
it fails.

-- 
---

Bob Andrews         UNIX: bob at ibmpa.awdpa.ibm.com
                    VNET: BANDREWS at AUSTIN (if you must)



More information about the Comp.unix.aix mailing list