Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Accessing Hard drive


    Hi

    How do i Access the hard drive.The aim is to read few blocks from the hard drive and copy those information into the buffers.Do advise..

    sandeep

  2. #2
    Just Joined!
    Join Date
    Jun 2004
    Location
    London
    Posts
    6
    1) Find out what block the device (hard drive) is in /dev/
    this is usually in the format device_type device_letter partition_number
    e.g. hdb2 is the hard drive (hd) named b, partition 2
    2) mount the device file system. i.e. make hd contents accessible to linux
    use the following command:

    mount -t type file_system_to_be_mounted mount_point

    e.g.

    mount -t vfat /dev/hdb2 /mnt/ProjectWork

    Hope this answers your question

Posting Permissions

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