How to get the filename of which has been deleted if I know the inode number?
How to get the filename of which has been deleted if I know the inode number.
i can use the command "istat" to get the inode number of the file.
If this file has been deleted,but the process of this file has not been closed and handle has not been released ,so this file has not been released yet.
then ,how can i get the path of which it has been deleted before if i know the inode number in AIX?
Thank you very much!
Last edited by zaxxon; 12-01-2009 at 07:33 AM..
Reason: code tags
Hi, I know that inode for each file is unique, but is it the for the directory? So far I found different directories has the same inode nubmer when you do ls -i, could some one explain why? Thanks a lot. (9 Replies)
as kernel keeps track of user activities on a file by its INODE number and I node table .
what is the structure of Inode table. and where does this Inode table mapped into?user space or kernel space?
is the Inode Number is fixed for a file till its deletion?
thanks (1 Reply)
Hi all
when I execute pmap command on one of my daemon process, I am able to see the following output.
Address Kbytes RSS Anon Locked Mode Mapped File
00010000 40 40 - - r-x-- irs026bmd
00028000 56 56 16 - rwx-- irs026bmd
00036000... (3 Replies)
How we can know number of inode present in my Disk including free and occupied.
Is there any tool or program to know how much free inode are there in inode free list . (2 Replies)
At risk of twisting the rules to nearly the point of breaking (if you think this goes too far mods, I apologise and accept that this should be deleted), I'm hoping someone might be able to cast a little light on the following problem regarding hard links to files.
... (6 Replies)
How can I get only FileName associated with a INODE on Unix in seconds instead of minutes, as it is the case for me as shown below.
# Say I have FileDescriptor: 43, INODE: 2590784, File: abc.rdb. I want to get only filename associated with inode:2590784 and FD:43.
$> time find / -inum... (7 Replies)
Hi,
I have created a file abc.log in Redhat Linux.
Inode number for a file get changes every time i update the file using vi editor.
Is there any setting that can be made , such that inode number never gets changed?
Or if we cannot restrict from inode number getting changed , is... (9 Replies)
Some one please help me to find deleted file name, if I am having inode number in Solaris without using any 3rd party tool.
Thanks :) (3 Replies)
Discussion started by: aksijain
3 Replies
LEARN ABOUT HPUX
ncheck_hfs
ncheck_hfs(1M)ncheck_hfs(1M)NAME
ncheck_hfs: ncheck - generate a list of path names from inode numbers for a HFS file system
SYNOPSIS
inode-numbers] [special ...]
DESCRIPTION
when invoked without arguments, generates a list of path names corresponding to the inode numbers of all files contained on the HFS file
systems listed in If special is specified, ncheck reports on the special only. Path names generated by are relative to the given special.
Names of directory files are followed by
Options
Allow printing of the names
and which are ordinarily suppressed.
Specify the HFS file system type.
Report only on files whose inode numbers
are specified on the command line, in inode-numbers. inode-numbers is a comma separated list of inode numbers.
Report only on special files
and regular files with set-user-ID mode. The option is intended to discover concealed violations of security policy.
Echo the completed command line, but performs no other action.
The command line is generated by incorporating the user-specified options and other information derived from This
option allows the user to verify the command line.
Report only on files using sector numbers
specified on the command line in sector_ranges. sector_ranges is a comma separated list of sector ranges. A sector
range is a starting sector number and an ending sector number separated by a dash, or just a sector number. The sec-
tor numbers should be in DEV_BSIZE units. If no pathname contains the sector number it will be reported as free or
containing file system structure. Sectors beyond the end of the file system will be reported as illegal.
Access Control Lists
Continuation inodes (that is, inodes containing additional access control list information) are quietly skipped since they do not corre-
spond to any path name.
EXAMPLES
Execute the command on all special in
Execute the command on HFS file system
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
DIAGNOSTICS
When the file system structure is improper, denotes the ``parent'' of a parentless file and a path-name beginning with denotes a loop.
AUTHOR
was developed by AT&T and HP.
FILES
Specifies the default file system type.
Static information about the file systems.
SEE ALSO acl(5), fsck(1M), fstab(4), fs_wrapper(5), ncheck(1M), sort(1).
STANDARDS CONFORMANCE ncheck_hfs(1M)