Find the answer to your Linux question:
Results 1 to 4 of 4
please can anyone give me the code which converts offeset addressing of blocks to block addressing (track, sector). Actually we want to Convert the offset addresses to block addresses.Reply as ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    4

    Unhappy Sector Reading From Harddisk

    please can anyone give me the code which converts offeset addressing of blocks to block addressing (track, sector). Actually we want to Convert the offset addresses to block addresses.Reply as soon as possible.

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Quote Originally Posted by mandar_999
    please can anyone give me the code which converts offeset addressing of blocks to block addressing (track, sector). Actually we want to Convert the offset addresses to block addresses.Reply as soon as possible.
    Is your software specific to any file system?
    Could you please explain a bit more about wat u intend to do?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    4

    Unhappy need help

    actually we r doing a project on linux kernel.
    our aim is to check the performance of disk scheduling algorithms for different types of disk reading, (i mean for sequential,random).
    our guide want to read files from different sectors,different tracks,i mean he want us to read from hard disc by specifing the sector,track no.in the program.
    we r not getting how to do that plz someone help us out

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    First of i want to say I got limited knowledege ...i know a bit about file system...if you are look to retrieve from address of Ext file system.They Use
    group descriptors.
    is your project specific to any file sytem ? or just reading from hard disk regardsless of File system?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...