Find the answer to your Linux question:
Results 1 to 3 of 3
Is there anyway I can directly place data onto a hard drive, and then search for it in Linux and have Linux tell me it's exact location on the hard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Location
    Ithaca, NY
    Posts
    3

    Search a Hard Drive


    Is there anyway I can directly place data onto a hard drive, and then search for it in Linux and have Linux tell me it's exact location on the hard drive? (block, sector, any information)

    Does anyone know if there is a command or tool?

    Much Thanks,
    Krops

  2. #2
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    to search the hard drive for a specific file use
    Code:
    find / -name <filename>
    (basic instruction,it has more switches)..use man find to figure out..
    for information about hard disk use hdparm (man hdparm)
    Linux For Ever!

  3. #3
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    and maybe df command is useful.see man df for more
    Linux For Ever!

  4. $spacer_open
    $spacer_close

Posting Permissions

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