kern/48435: wierd file system behavior

Jin Guojun [NCS] j_guojun at lbl.gov
Mon Jul 14 13:16:16 PDT 2003


Kris Kennaway wrote:

> Synopsis: wierd file system behavior
>
> State-Changed-From-To: open->feedback
> State-Changed-By: kris
> State-Changed-When: Mon Jul 14 03:53:06 PDT 2003
> State-Changed-Why:
> I am unable to reproduce this on -current or -stable.
> Can you confirm whether or not you still see this behaviour?
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=48435

It seems still the same behavior.
This may be the new feature for undelete a file ?
which is only way I can guess that to change inode is useful.

[312] 5.1lbl.gov:ll -i test
total 24
6338 drwxr-xr-x  2 jin   wheel   512 Jul 14 13:05 ./
   2 drwxrwxrwt  5 root  wheel   512 Jul 14 13:03 ../
6340 -rw-r--r--  1 jin   wheel  2474 Jul 14 13:02 sshd_config
[313] 5.1.lbl.gov: tar -xvf x
test/
test/sshd_config
[314] 5.1.lbl.gov: ll -i test
total 24
6338 drwxr-xr-x  2 jin   wheel   512 Jul 14 13:06 ./
   2 drwxrwxrwt  5 root  wheel   512 Jul 14 13:03 ../
6341 -rw-r--r--  1 jin   wheel  2474 Jul 14 13:02 sshd_config    # inode changed
from 6340 to 6341

[315] 5.1lbl.gov: rm test/sshd_config
remove test/sshd_config? y
[316] 5.1.lbl.gov: ll -i test
total 16
6338 drwxr-xr-x  2 jin   wheel  512 Jul 14 13:07 ./                           #
inode is the same
   2 drwxrwxrwt  5 root  wheel  512 Jul 14 13:03 ../
[317] 5.1.lbl.gov: !tar
tar -xvf x
test/
test/sshd_config
[318] 5.1.lbl.gov: ll -i test
total 24
2112 drwxr-xr-x  2 jin   wheel   512 Jul 14 13:02 ./                     #
directory inode is changed
   2 drwxrwxrwt  5 root  wheel   512 Jul 14 13:07 ../
2113 -rw-r--r--  1 jin   wheel  2474 Jul 14 13:02 sshd_config

[319] 5.1.lbl.gov: uname -a
FreeBSD 5.1.lbl.gov 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Wed Jun 25 01:22:21 PDT
2003

--
------------ Jin Guojun ----------- v --- j_guojun at lbl.gov ---
Distributed Systems Department          http://www.itg.lbl.gov/~jin
M/S 50B-2239                            Ph#:(510) 486-7531 Fax: 486-6363
Lawrence Berkeley National Laboratory,  Berkeley, CA 94720





More information about the freebsd-bugs mailing list