Re: chfs question
- From: dawaves@xxxxxxxxx
- Date: 27 Apr 2006 08:21:57 -0700
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
.
- References:
- chfs question
- From: dawaves
- Re: chfs question
- From: Dan Foster
- Re: chfs question
- From: dawaves
- Re: chfs question
- From: Bobohoolie
- Re: chfs question
- From: Dan Foster
- chfs question
- Prev by Date: Re: Whete to find 6228 HBA drivers
- Next by Date: Re: Problems with dual boot AIX 5.2 and 5.3
- Previous by thread: Re: chfs question
- Next by thread: Re: chfs question
- Index(es):
Relevant Pages
|
|