• 1 Post
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • So I do HPC installations, and using Mellanox/NVIDIA adapters in Ethernet mode absolutely sucks. First, when you initially install them, they’re named something like ens2f0, where “2” generally corresponds to the PCI slot. Pretty easy, until you install MOFED. Yeah, I know you don’t need MOFED, but the drivers included in RHEL are waaay old. Anyway, after installing the newer drivers, that exact same interface becomes ens2f0np0!

    What’s even better is there’s no guarantee that a PCI Ethernet card in PCI slot 2 will be “ens2…” which I would argue is predictive!





  • The dash used to be how to could tell how long someone had been using tar. If they started with Linux, they probably use a dash. If they started on a UNIX variant, they probably don’t. Either way, the dash isn’t needed.

    Also recently learned that recent versions of tar will autodetect compression. So for extraction, you just need “tar xf “





  • I would add that if you are securing loans above a certain total amount or used for certain purchase types to make a purchase, that purchase is subject to a sales tax that must come out of the purchaser’s pocket. The trouble with wealth taxes is that most of the “wealth” isn’t liquid, but it is often used, for example, as collateral to purchase Twitter. In this instance, the wealth used should be treated as liquid taxable assets. I think those taxes should come either from the purchaser divesting from some amount of assets or a straight cash, not from another loan, payment.





  • For the home directory question, you actually don’t have to reboot at all. You’ll do most of this as the root user. Just create a new user and put its home directory somewhere like /tmp. Logout, log back in as your temp user, format the new drive, move your home directory (rsync is your friend), edit the fstab (I personally prefer labeling all my partitions and using the labels in fstab). After that, to test your settings, create a new, empty, /home matching the permissions of the old directory. Then type “mount -a”. This goes back through fstab and mounts everything listed if it’s not already mounted. Look for your home directory in /home. If it’s there, you should be able to “su - yourusername” and if you are in your home directory with all your files, you’re all good. No need to reboot. Log out of the temp user account, log back in as you and delete the temp user.