• 0 Posts
  • 18 Comments
Joined 6 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.


  • Kazumara@discuss.tchncs.detourbanismYes
    ·
    edit-2
    9 days ago

    I checked Wikipedia real quick:

    The Los Angeles Metro Rail is an urban rail transit system serving Los Angeles County, California in the United States. It consists of six lines: four light rail lines (the A, C, E and K lines) and two rapid transit lines (the B and D lines)

    Looking further, since this happened in Boyle Heights, and only Line E runs through there, it must have been a Kinki Sharyo P3010. The empty weight of one car is 45t. On pictures I can see there were three cars, so 140t (plus content) were pushing forward there. But only the first half in front of the articulation point of the first car derailed. Looking at the schema picture on the bottem here (PDF) it looks like there are three bogies. So I guess we can assume roughly 15t (plus content) would need to be bounced off the track.

    I've seen the result of the same thing happening here in Zürich to our Bombardier Cobra light rail which weighs 39.2t. So I'm not that surprised anymore, but it is still impressive.





  • I wrote a script to turn the power of the the Wifi+Bluetooth chip off, then enumerate the PCIe bus again to start it back up.

    The chip sometimes hung itself when using both. I looked for the bug and even found an Intel engineer on some mailing list admitting that they had issues with coexistance mode.

    Just turning the wireless off and back on wasn't enough I needed to reeinitialize the hardware and that was the best way I knew.




  • Who the fuck ever said that the vaccine was necessary for the survival of most of the population?

    For most of us this was about contributing to herd immunity for the benefit of those who were at risk of permanent injury or death from covid, and about lowering the personal risk of going through a bad infection yourself.



  • I had to look up cashier's check and it does not sound familiar at all. But searching a bit further it is a thing that exists, seems to be called Bank Check around here, it's just kind of expensive to use.

    It's much more usual to pay in cash or use an account transfer (SEPA transfer) which is usually free, but with the delay of the transfer one of the parties usually takes a risk.

    This year, in relation to the rule the post is about, they also forced banks that were dragging their feet to start supporting instant transfers.

    I don't ultimately know the answer to your question though. I suspect the banks have to ask you for the origin, as if you turned up with 10k in cash, but I couldn't find anything definitive in the time I was searching around.