Find the answer to your Linux question:
Results 1 to 3 of 3
I need the functionality of the dd command. Rather than directly calling the dd command from the program I'm writing, is there a way for me to do whatever low ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    1

    Using dd command


    I need the functionality of the dd command. Rather than directly calling the dd command from the program I'm writing, is there a way for me to do whatever low level commands dd does or call the libraries it uses?

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,809
    May I respectfully suggest that you do use the dd command? I don't think there is much lower level than that. If you need to know how it does what it does, you can get hold of the source code and maybe embed that into whatever you're building.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Linux User tech_man's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    385
    As Roxoff said, I don't think there is much lower than dd. dd is a byte for byte copy IIRC.
    'Tis better to be silent and be thought a fool, than to speak and remove all doubt.'
    --Abraham Lincoln

Posting Permissions

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