The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP user information on destination server randhir HP-UX 3 03-10-2008 06:11 PM
Destination NAT using ipnat in Solaris 8 mandarawachat IP Networking 0 03-07-2008 12:25 PM
rcp won't accept a destination with spaces... Trusevich UNIX for Advanced & Expert Users 3 08-23-2006 02:04 PM
Prompt User for Pgm Output Destination termite Shell Programming and Scripting 0 02-28-2006 09:11 AM
Byte Rate to/from a source/destination cubs0729 UNIX for Advanced & Expert Users 1 08-08-2005 01:55 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-24-2008
Registered User
 

Join Date: Jun 2008
Posts: 2
what did dd command do to destination drive

I am almost a beginner. And a total idiot.

so i have

done a dd if=/somefile.img of=/dev/sdc1

sdc1 was a USB disk drive with many many files on it i did not want to lose.

What it did was remove the dev/scd1 USB drive and my mounting of /media/movie and then change it to /media/somefile as the new mount point. The file system says UDF.

On reboot this comes up as a totally new mount and I can only see the results of the above .img extraction. (at least that worked)

the somefile.img was 4.4gb and was an image of a DVD.

I have since found out that DD is a unix command. So what did this do to this drive.

For example did it erase the MTF?
It took about 15 min to do so I am assuming it did not write to the whole 1TB that this disk is?
Did it write to the beginning of the disk with only 4.4gb of information?
Thus is it possible that although the other files cannot be seen at the moment some of the file recovery programs may be able to see them? (this last question is not so important as i am back with wondows and trying to do this I am just trying to understand what dd does)
Reply With Quote
Forum Sponsor
  #2  
Old 06-26-2008
Registered User
 

Join Date: Jun 2008
Posts: 2
no idea?
Reply With Quote
  #3  
Old 06-26-2008
matt.d's Avatar
Registered User
 

Join Date: Feb 2008
Location: /dev/null
Posts: 62
I'm pretty sure you erased the volume's label, which is preventing the OS from determining what the size is, the type of filesystem, etc.

For detailed info on the dd command (or any other UNIX command, for that matter), execute
Code:
 man dd
This will bring up the manual.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:00 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0