• 0 Posts
  • 49 Comments
Joined 7 months ago
cake
Cake day: April 13th, 2024

help-circle







  • Is it OK to simply dd the 128GB disk to the 32GB disk using count to stop after the 16GB partition was cloned?

    I think it would work, but it seems a little overcomplicated, you can just use the partition paths as if and of of dd directly, as long as the output partition is not smaller than the input partition. For example dd if=/dev/sdc1 of=/dev/sdd1 bs=4M status=progress

    Your method would also copy the partition table I suppose, which might be something you want under specific circumstances, but then it would be a little harder to get the count right, just taking the size of partition 1 would be wrong, because there is some space before it (where the partition table lives) and dd would start at 0. You’d need to add up the start position and the size of partition 1 instead.

    Personally I would prefer making a new partition table on the new eMCC, and create a target partition on it. Then you clone the content of the partition (i.e. the file system). This way the file system UUID will still be the same, and the fstab should still work because these days it usually refers to mounts by filesystem UUID in my experience.

    If you make the target partition larger than the source partition, and you intend to use the full partition going forward you will additionally need to resize the filesystem to fit the new larger partition, for example with resize2fs.










  • I’m in the state of Georgia: no provision for breaks are given at all.

    Oh man that’s brutal.

    I used to live in the UK: I think the rule was employers are required to give 30 mins per 10 hours worked, cannot be in the first or last hour.

    Yeah here in Switzerland it’s similar to the UK rule. Any shift longer than 6 hours needs to be interrupted by an unpaid but uninterrupted break of at least 30min for eating, such that there isn’t more than a 6 hour continuous work period on either side of the break, IIRC.

    Our standard for full-time employment is 8.4h per day. (That’s a bit high in comparison to neighboring countries). It’s very usual that you get your eating break somewhere between 11:30-13:30 o’clock, maybe on rotation with coworkers if you need to keep the phones staffed.

    In my office job we all go together from around 11:45 to 12:45.