Messages in this thread | | | Date | Wed, 28 Apr 1999 11:39:07 -0400 | From | Brian Gerst <> | Subject | Re: Physical Sectors for a File |
| |
Yash Shitoot wrote: > > For a driver I am writing, I need to find the physical sectors > for a given file. I know the inode number for that file. Any help/ > pointers would be appreciated.
Try looking at the source to lilo, that also needs to make a block map of where the kernel image sits on the disk.
--
Brian Gerst
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |