Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!panews!ibmpa.awdpa.ibm.com!bob From: bob@ibmpa.awdpa.ibm.com (Bob Andrews) Newsgroups: comp.unix.aix Subject: Re: It works everywhere else, but not on AIX Message-ID: <1991Apr16.183547@ibmpa.awdpa.ibm.com> Date: 17 Apr 91 01:35:47 GMT References: <1991Apr15.182214.10391@ux1.cso.uiuc.edu> <1991Apr16.045432.10283@ibmpa,awdpa.ibm.com> Sender: news@ibmpa.awdpa.ibm.com (news id) Reply-To: bob@ibmpa.awdpa.ibm.com (Bob Andrews) Organization: IBM Advanced Workstations Division, Palo Alto Lines: 33 In article <1991Apr16.045432.10283@ibmpa,awdpa.ibm.com>, jsalter@ibmpa.awdpa.ibm.com writes: |> In article <1991Apr15.182214.10391@ux1.cso.uiuc.edu> phil@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@ux2:/u/phil 2> df . |> > Filesystem Total KB free %used iused %iused Mounted on |> > Cannot find file system . |> > phil@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@ibmpa.awdpa.ibm.com VNET: BANDREWS at AUSTIN (if you must)