You are viewing a single thread.
View all comments View context
59 points

thats a reason to use the uuid in the fstab

permalink
report
parent
reply
11 points
*

Anyone else chuckle on the parallel in saying to use the UUID is no different than saying “just hardcore the IP bro”

I’m not hating on you, but it’s an extremely flawed system where you are forced to use a direct ID mapping as a reference.

From what I’m understanding from people you can assign an alias to the UUID that sounds better?

permalink
report
parent
reply
6 points

Anyone else chuckle on the parallel in saying to use the UUID is no different than saying “just hardcore the IP bro”

It’s more like setting a static IP. The UUID is set when you create the partition and won’t change unless you force it to change.

You can also use any of the GUI utilities which can add it to your fstab.

There’s a lot of things that are made way too difficult on Linux for seemingly no reason. This isn’t one of them.

permalink
report
parent
reply
4 points

I mean you can also use partition labels but who does that

permalink
report
parent
reply
3 points

Oh really? That seems interesting and better than a random uuid

permalink
report
parent
reply
3 points

If filesystem UUIDs are IP equivalents. Then device paths are MAC addresses. FS labels are DNS. Device mapper entries are service discovery.

permalink
report
parent
reply
1 point
*

In the scenario of having to constantly update an fstab yes it is. As an end user I shouldn’t have to keep updating configuration files because something on a lower level keeps changing its alias.

No granted I’m not familiar with this type of mount. Maybe there is a better way to do it that absolves needing to use the UUID but if not that’s shit architecture IMHO.

permalink
report
parent
reply
2 points
*
Deleted by creator
permalink
report
parent
reply
1 point

The alternative being running os-prober at boottime, on every boot.

Currently, we set UUID using os-prober whenever we remake grub.cfg, analogous to that would be registering web-server static IPs with a DNS, which provides the domain name aliases (we don’t need to see UUID in the GRUB menu right? We see the OS names).

An analogy to the alternative would be to ask all devices on the internet to send their usage methods everytime you try to look for another site.

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.7K

    Monthly active users

  • 1.3K

    Posts

  • 69K

    Comments