View Single Post
  #59   Spotlight this post!  
Unread 05-04-2013, 20:33
rbmj rbmj is offline
Registered User
FRC #0612 (Chantilly Robotics)
Team Role: Alumni
 
Join Date: Apr 2011
Rookie Year: 2011
Location: DC Area/Fairfax County
Posts: 192
rbmj is a jewel in the roughrbmj is a jewel in the roughrbmj is a jewel in the rough
Re: Which Linux distributions do you use?

Quote:
Originally Posted by Ether View Post

Pardon the brief thread hijack, but I guess there are probably some Linux gurus here. Quick question if I may?

can dd write an output file to a ntfs file system?

for example, I want to save an image of the MBR on sda to a file in a folder in sdb1, where the file system in the sdb1 partition is ntfs:

dd if=/dev/sda of=/mnt/sdb1/MBR.img bs=512 count=1

Will this work, and not corrupt the filesystem in the sdb1 partition?


dd only sees files. As long as you can write to the location, it won't corrupt anything. It's only dangerous when your output file happens to be directly mapped to disk.
__________________
FRC 612 '12
USNA '16