. file question (bug?)

Ted Johnson tedj at hpcilzb.HP.COM
Thu Aug 4 04:08:31 AEST 1988


When does the "." file, which describes the current directory,
get updated?  Only when you do an fsck?  

In the following example, I created a directory and make 2 files.
After deleting one of the files, the "." file thought that they
were both still there.  Is this a bug???

This is on HP-UX 6.01, ksh, running on an HP 9000/350.

-Ted

------------------------cut here--------------------------

Script started on Wed Aug  3 11:06:39 1988
hpcillm(tedj) 277>mkdir testdir
hpcillm(tedj) 278>cd testdir
./testdir
hpcillm(tedj) 279>strings .
hpcillm(tedj) 280>touch file1
hpcillm(tedj) 281>strings .
file1
hpcillm(tedj) 282>touch file2
hpcillm(tedj) 283>strings .
file1
file2
hpcillm(tedj) 284>rm file2
hpcillm(tedj) 285>strings .
file1
file2
hpcillm(tedj) 286>ls
file1
hpcillm(tedj) 287>exit

script done on Wed Aug  3 11:07:20 1988



More information about the Comp.unix.wizards mailing list