Hi, Manish
I used debugfs . But it is not showing the required output.
[root@KASHISH mnt]# debugfs
debugfs 1.41.9 (22-Aug-2009)
debugfs: ncheck 14
ncheck: Filesystem not open
debugfs: stat 14
stat: Filesystem not open
I mounted my ext2 fs which I created on /dev/sda5 in /mnt directory and
yaah, I read the man page
It can be done in following way
[root@KASHISH KASHISH]# debugfs
debugfs 1.41.9 (22-Aug-2009)
debugfs: open -c /dev/sda5
/dev/sda5: catastrophic mode - not reading inode or group bitmaps
debugfs: stat 14
Inode: 14 Type: regularMode: 0644 Flags: 0x0
Is there any method/command/utility to know what are the block numbers which
are allocated to a file in ext2 fs?
--
Regards,
Kashish
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia kooles...@gmail.com wrote:
Is there any method/command/utility to know what are the block numbers which
are allocated to a file in ext2 fs?
The FIBMAP ioctl gives you the block number give an integer, which is
the nth block attached to the inode.
Install sleuthkit. It has a bunch of utilities to examine metadata,
blocks, etc. Specifically, checkout istat.
On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia kooles...@gmail.com wrote:
Is there any method/command/utility to know what are the block numbers which
are allocated to a file in ext2
On Sun, Feb 20, 2011 at 7:32 PM, Abhijit Hoskeri
abhijithosk...@gmail.comwrote:
On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia kooles...@gmail.com
wrote:
Is there any method/command/utility to know what are the block numbers
which
are allocated to a file in ext2 fs?
The FIBMAP ioctl
On Sun, Feb 20, 2011 at 5:22 AM, kashish bhatia kooles...@gmail.com wrote:
Is there any method/command/utility to know what are the block numbers which
are allocated to a file in ext2 fs?
Use debugfs which comes with e2fsprogs.
--
Regards,
Kashish
Hi, Manish
How to use debugfs?
--
Regards,
Kashish
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Sun, Feb 20, 2011 at 10:05 AM, kashish bhatia kooles...@gmail.com wrote:
Hi, Manish
How to use debugfs?
debugfs: ncheck 12
Inode Pathname
12 //abc
debugfs: stat 12
Inode: 12 Type: regularMode: 0644 Flags: 0x0
Generation: 143681507Version: 0x
User: 1000
On Sun, Feb 20, 2011 at 8:47 PM, kashish bhatia kooles...@gmail.com wrote:
On Sun, Feb 20, 2011 at 7:32 PM, Abhijit Hoskeri abhijithosk...@gmail.com
wrote:
On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia kooles...@gmail.com
wrote:
Is there any method/command/utility to know what are the
On Sun, Feb 20, 2011 at 9:02 AM, Abhijit Hoskeri
abhijithosk...@gmail.com wrote:
On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia kooles...@gmail.com wrote:
Is there any method/command/utility to know what are the block numbers which
are allocated to a file in ext2 fs?
The FIBMAP ioctl gives
11 matches
Mail list logo