106k views
1 vote
Which statement is used to partition an image on another machine?

Option 1: dd if=/dev/hda bs=16065b | netcat targethost-IP 1234
Option 2: dd if=/dev/sda2 of=/dev/sdb2 bs=4096 conv=notrunc,noerror
Option 3: dd if=/dev/fd0 of=/home/sam/ conv=notrunc
Option 4: None of the above

User Souldeux
by
7.8k points

1 Answer

2 votes

Final answer:

Option 1 is the correct statement used to partition an image on another machine, utilizing the 'dd' command piped to 'netcat' for network transmission.

Step-by-step explanation:

The question relates to using the dd command for cloning and image transfer between machines. Among the options provided, Option 1 describes a command to partition an image over a network using netcat:

dd if=/dev/hda bs=16065b | netcat targethost-IP 1234

This command reads the disk image from a source hard drive (/dev/hda) and pipes the content to netcat, which sends it over the network to a target host IP on a specified port (1234). Therefore, Option 1 is used to partition an image on another machine over a network.

User Rogach
by
8.2k points