lkml.org 
[lkml]   [1997]   [Feb]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromJoachim Gassen <>
SubjectRe: wierd behaviour...
DateWed, 26 Feb 1997 10:16:28 +0100 (MET)
Hi Jerome

> > On 25 Feb 97 at 18:27, Jerome Etienne wrote:
> > > re read my first reply. and try to explain why "/bin/echo
> > > bla"(or other tools) doesn't read anything from hd. and why
> > > "main(){fork();}" does. 
> > Maybe because you are not allowed to change the access time for 
> > /bin/echo?
> nice try but its not the good answer :) (same behaviour with root's rights)

Well let me have a guess then. You are using a shell, I suppose :-)
Many shells have builtin defaults for echo and friends.

I am using bash and it looks like this

fb4-1112:~$ ls -lau /bin/echo
-rwxr-xr-x   1 root     bin          5361 Feb 26 10:10 /bin/echo*
fb4-1112:~$ echo "Hi"
Hi    [No hdd access here - using bash]
fb4-1112:~$ ls -lau /bin/echo
-rwxr-xr-x   1 root     bin          5361 Feb 26 10:10 /bin/echo*
fb4-1112:~$ /bin/echo "Hi"
Hi    [hdd access - using /bin/echo]
fb4-1112:~$ ls -lau /bin/echo
-rwxr-xr-x   1 root     bin          5361 Feb 26 10:11 /bin/echo*
fb4-1112:~$                                      ^^^^^ time changed
perhaps you want to check this fact.

just my $0.02

							Yours Joachim

-- 
Joachim Gassen             <http://fb4-1112.uni-muenster.de/~joachim>  
v: 0251-63664 f/d: 63617 isdn: 63625 joachim@fb4-1112.uni-muenster.de
Ls f. BWL, insb. IUR,     Universitaetsstr. 14-16,     48143 Muenster
voice: 0251-8321901   fax: 0251-8322018   11joga@wiwi.uni-muenster.de    
\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.110 / U:0.510 seconds]
©2003-2008 Jasper Spaans