[CentOS] scp partition "not a regular file"
centos at linuxpowered.net
Mon Sep 29 16:27:45 UTC 2008
henry ritzlmayr wrote:
> Hi list,
> should it be possible to scp a partition with this command:
> scp /dev/sda7 backupserver:/backup/sda7.img
/dev/sda7 is just a file, if you copy it it doesn't mean you'll
copy the contents of the partition you'll just copy the block
file itself, equivalent to running the mknod command on the
You need to stream the contents of the file to get the data from
it, like your dd example.
More information about the CentOS