From mboxrd@z Thu Jan 1 00:00:00 1970 From: vineetvagrwl@gmail.com (Vineet Agarwal) Date: Tue, 8 Mar 2011 19:24:52 +0530 Subject: How to verify block numbers of file ? In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hey Kashish, On Tue, Mar 8, 2011 at 3:55 PM, kashish bhatia wrote: > Hi, Manish > > > I used debugfs . But it is not showing the required output. > > > [root at KASHISH mnt]# debugfs > debugfs 1.41.9 (22-Aug-2009) > debugfs: ncheck 14 > ncheck: Filesystem not open > debugfs: stat <14> > stat: Filesystem not open > > > You need to specify the device name along with debugfs. Look in the man page for debugfs. > > I mounted my ext2 fs which I created on /dev/sda5 in /mnt directory and I > want to check block numbers of file with inode 14. How to open the file > system? > > -- > Regards, > Kashish > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > -- Regards: Vineet Agarwal http://code.google.com/p/radc/ http://in.linkedin.com/in/vineetvagrwl -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110308/e1fc35b5/attachment-0001.html