On 03Sep2019 23:12, ToddAndMargo <ToddAndMargo@xxxxxxxx> wrote:
On 9/3/19 10:56 PM, Cameron Simpson wrote:
On 03Sep2019 22:03, ToddAndMargo <ToddAndMargo@xxxxxxxx> 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@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx