LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-31-2008, 04:21 AM   #1
vv40in
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
question about FIBMAP (how can i correctly find all file blocks?)


hello all!
and sorry for my bad english

if my below loop:

/*may be: bcount=5;*/
for(i=0; i < bcount; i++) {
block = i;
ioctl(fd, FIBMAP, &block);
}

and let it "block" was zero twice in this case.

question: how can i correctly find all file blocks?

may be, is it exist another ioctl than FIBMAP?
or may be is it exist fully doc about FIBMAP? where?

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[sed || gawk]: find and delete blocks and lines from file Hisu Programming 1 09-16-2008 02:01 PM
simple tar question can not find answer in man file davimint Linux - General 3 05-22-2007 01:03 AM
Why wont code::blocks find glut.h h3x0r Programming 1 04-13-2007 01:59 PM
problem in : program to find which all data blocks are allocated udayan Programming 0 07-03-2002 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration