Re: chfs question



Dan,

I ran the examples you posted and they all make sense. I appreciate
your depth of knowledge and your help on this question!

Thanks!

Dan Foster wrote:
Hallo,

In article <1146124628.899729.118100@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Bobohoolie <juliorc@xxxxxxxxx> wrote:

/var/tmp is also used ! so the answer should be B I think.......

No, I am afraid that it is not the case.

Try these two commands on AIX v5:

# truss -f -o /truss.log -t open,chdir chfs -a size=+1 /usr
# grep /var/tmp /truss.log

You will see there is no reference to /var/tmp. (This is true for both
AIX 5.1 and AIX 5.2.)

truss examines system calls executed by the application (chfs); -t tells
it to print out only open() and chdir() system calls; -o sends output to
/truss.log, and -f follows parent and all child processes.

So this command will tell you if it has opened any files or entered any
directories, and what file access mode it used.

Now try this command:

# grep /tmp /truss.log

You will see about 10 references to /tmp; most are in write/append mode.

This is not based on opinions, but based on observed evidence. :-)

Only way for /var/tmp to have temporary files from chfs is if /tmp is a
symbolic link to /var/tmp... which is not a normal AIX setup.

It is possible IBM changed chfs behavior in AIX 5.3 to create temporary
files in /var/tmp, but I doubt it. (I do not have any AIX 5.3 systems so
I cannot check this.)

Met vriendelijke groeten,

-Dan

.



Relevant Pages

  • Re: chfs question
    ... Try these two commands on AIX v5: ... truss examines system calls executed by the application (chfs); ... So this command will tell you if it has opened any files or entered any ... Only way for /var/tmp to have temporary files from chfs is if /tmp is a ...
    (comp.unix.aix)
  • Re: MPIO disks and paths
    ... changeable attributes for the EVA disks. ... The AIX 5.3 System Management Concepts: ... since the path instances typically alternate between the adapters. ... Command View EVA on the SAN Appliance. ...
    (comp.unix.aix)
  • Re: Printing up a creek without a paddle...
    ... Sounds like the "lp" command on this particular machine isn't the standard ... Please keep in mind that AIX supports its own print subsystem and the ... Third party software often installs into /usr/local/bin. ...
    (comp.unix.aix)
  • Re: I dont want that cde starts, I want to get a command line lo gin
    ... AIX Systems Administrator ... I don't want that cde starts, I want to get a command line lo gin ... immediately delete the entire communication, ...
    (AIX-L)
  • Re: add space to SAN - AIX disk size change?
    ... > Is there any way to tell AIX that a disk size has changed, ... You didn't state your AIX version, but the extract from the AIX 5.2 ... Unmount all file systems in the affected volume group for every file ... Vary off the volume group, using the following command: ...
    (comp.unix.aix)