On 03Sep2019 22:03, ToddAndMargo ToddAndMargo@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.
Cheers, Cameron Simpson cs@cskk.id.au