what did dd command do to destination drive


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory what did dd command do to destination drive
# 1  
Old 06-24-2008
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)
# 2  
Old 06-26-2008
no idea?
# 3  
Old 06-26-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check if remote destination is available before running scp command

I have a script on a Linux box which scp the files to windows server without any issues. but there are time frames where the windows server will not be available due to maintenance. hence I need to check if the remote location is available before running the scp command. scp... (3 Replies)
Discussion started by: gpk_newbie
3 Replies

2. Shell Programming and Scripting

Command / Script to create touch file in destination server

Hello Team, Is there any Linux command / script available so that, I could create a simple 0 byte file in destination server by issuing the command from source server. If yes, Could you please let me know the possible solutions. in other words I just want to create a touch file in my home... (1 Reply)
Discussion started by: madhuraju
1 Replies

3. UNIX for Dummies Questions & Answers

Need help to move .csv file from UNIX path to windows shared drive or c:\ drive

Hi Guys, Can any one help me on this. I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive? Regards, LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies

4. Red Hat

Command understanding the output file destination in case of standard output!!!!!

I ran the following command. cat abc.c > abc.c I got message the following message from command cat: cat: abc.c : input file is same as the output file How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies

5. Shell Programming and Scripting

Help with cp command when destination file is opened

I am writing a shell script (runs on HP Unix) which copies files from a source directory to another destination daily. The destination directory always have the files with same name as in the source directory. And daily a new file will be created in the source. cp command works fine if the file... (1 Reply)
Discussion started by: arunkumar_ms
1 Replies

6. UNIX Desktop Questions & Answers

ssh command doesnot excute commands in the destination server

Hi All, I have the below code where Iam connecting from xzur111pap server to xzur0211pap server thru ssh to execute some commands. ssh xzur0211pap spaceleft=`df -k /home |tail -1 | awk '{print $5}'` spaceleft=${spaceleft%\%} if ]; then echo "ALERT : HUFS(/home $spaceleft)" exit 0... (3 Replies)
Discussion started by: gaddamja
3 Replies

7. UNIX for Advanced & Expert Users

tar to tape drive command

I want to use this command to tar to tape: tar cf - DIR | compress > `hostname`_`date +%m-%d-%y`.DIR.tar.Z this of course goes to the FS. How do I modify this to go directly to tape? My tape device is /dev/rmt/0 thanks. Having so many posts you should be familiar using code tags.... (7 Replies)
Discussion started by: djehresmann
7 Replies

8. IP Networking

Command to ping 1500 bytes of data to a destination system

Hi All, I want to ping 1500 bytes of data from a pc to another pc in the network. What is command used for the same? Thanks (2 Replies)
Discussion started by: rvan
2 Replies

9. Solaris

<drive type unknown> when format command run

Hi, we are running solaris 9 on V280R. Due to power failure, one disk's label and lost its details like drive type etc. Disk details: <SUN72G cyl 14087 alt 2 hd 24 sec 424> single partition on slice 6 with UFS. The below i see when i run "format" command ..... ..... 4.... (1 Reply)
Discussion started by: prvnrk
1 Replies

10. Solaris

Command to determine Tape Drive model and make

Hi, We have some IBM LTO tape drives connect over SAN. I have the following questions :- 1) Command that can list the tape drive details like who is manufacturer, model number, make etc etc 2) I would like to know what are the key differences between IBM LTO Generation 1 and Generation... (5 Replies)
Discussion started by: new2prog
5 Replies
Login or Register to Ask a Question