• damium@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

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

    • whoisearth@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 months ago

      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.

      • Phrodo_00@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        8 months ago

        What? Using uuids is the solution to having to change the file (that, or stable name rules). You can also use labels if you want to.

      • Strykker@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        The UUID never fucking changes. It is a hardware level identier use the UUID in your configs and they will work until the day you change drives.