On 03Sep2019 23:12, ToddAndMargo <ToddAndMargo(a)zoho.com> wrote:
On 9/3/19 10:56 PM, Cameron Simpson wrote:
>On 03Sep2019 22:03, ToddAndMargo <ToddAndMargo(a)zoho.com> wrote:
>>I have a flash drive with about four partitions on is.
>>Lets call it /dev/sdc.
>>
>>Can I tar sdc or am I stuck with tarring the partitions?
>>
>>Any drawback to this?
>
>Depends what you want from it. If the partitions have real
>filesystems in them then mount them and tar the mounted trees.
>
>Otherwise there's no benefit to using tar, which stores named files
>and their data. Just cat the flash drive to flash_drive.img and
>there you are: a usable drive image file - plain data.
Thank you!
Sounds like dd is the better option
Shrug. "cat" is easier to invoke:
cat /dev/sdBLAH >sdBLAH.img
Cheers,
Cameron Simpson <cs(a)cskk.id.au>