!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/share/doc/nfs-utils-1.0.7/   drwxr-xr-x
Free 3.74 GB of 27.03 GB (13.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     node8.html (3.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
File Handle in Kernel-Space NFS Server next up previous
Next: Other Considerations Up: Interoperability Previous: The Kernel-Space NFS Server

File Handle in Kernel-Space NFS Server

To make the file handle from the NFS server in the Linux kernel to work with other NFS client implementations, we have to remove dentry from file handle. The direct result is the file handle for the same file remains unchanged across machine reboot. Rebooting Linux NFS server no longer cause the NFS clients to get the stale NFS file handle.

However, deleting and creating the same pathname may still lead to the same file handle. To solve it, a generation counter is added to the file handle:

  • A system wide generation counter is initialized with a random number during machine boot.

  • When a new inode is created, it is assigned with the current generation counter and the generation counter is incremented.

  • When a freed inode is written to the disk, its generation counter is incremented.

Since we removed the dependency on pathname in the file handle, rename and hard links within the same directory won't cause change in the file handle. However, since the parent directory inode is still the part of the file handle, move a file or hard link a file from one directory to a different directory within the same file system will result in the file handle change. So far we haven't got any report which shows it is a real problem yet.


next up previous
Next: Other Considerations Up: Interoperability Previous: The Kernel-Space NFS Server
H.J. Lu
1999-08-15

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0033 ]--