LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Persistent naming installation option in Slackware 15? (https://www.linuxquestions.org/questions/slackware-installation-40/persistent-naming-installation-option-in-slackware-15-a-4175649861/)

wirelessmc 03-09-2019 10:19 AM

Persistent naming installation option in Slackware 15?
 
I realize this might add a little weight to the super versatile and light Slackware installation script - but - including Persistent Naming options for both booting (lilo/elilo) and fstab configuration at installation would be such a welcome enhancement. At least the addition of the UUID option (default in other distributions) in place of device names would be a great in lieu of the post installation currently required:

https://docs.slackware.com/howtos:sl...sistent_naming

Has the Slackware team given this any consideration? If not I guess we are stuck with the post installation blues. At least the (above) is very good documentation.

business_kid 03-10-2019 02:46 PM

Personally, I value the old naming practice. I put thought into choosing disk partitions and sizes. Why hide them behind unintelligible UUIDs? The multiple disks that make UUIDs necessary are not a problem for the ordinary mortal.

Didier Spaier 03-10-2019 04:35 PM

Quote:

Originally Posted by business_kid (Post 5972413)
Why hide them behind unintelligible UUIDs? The multiple disks that make UUIDs necessary are not a problem for the ordinary mortal.

First, you do not need to hide anything. Here:
Code:

didier[~]$ cat /etc/fstab
# Initially /dev/sdb4
UUID=0e0b462b-0a8f-49bc-ae98-6395ce3361a8 / ext4 defaults 1 1
# Initially /dev/sda3
UUID=53ea8679-197e-437c-bdcb-61c55c509a2f /storage ext4 defaults 1 2
# Initially /dev/sdb2
UUID=446e4302-60ee-4bb8-b404-b06ef1a76057 /old ext4 defaults 1 2
# Initially /dev/sdb3
UUID=b8d9d6ba-f993-466a-a243-04b63156485b /slint64 ext4 defaults 1 2
# Initially /dev/sdc2
UUID=47af727a-ecc4-4241-b5e0-c121302d8197 /data ext4 defaults 1 2
# Initially /dev/sdb1
UUID=60CA-18FA /boot/efi vfat defaults 1 0
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro,comment=x-gvfs-show 0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      nosuid,nodev,noexec 0  0
didier[~]$

Then, you miss the point: UUID helps especially when you are using removable devices, of which the name as /dev/something can change in several circumstances. Let's assume you have an USB stick or an USB attached drive and give just two examples.
  • If you plug another removable device as well as this one the name can change.
  • If you plug it in in another machine, the name can change.

business_kid 03-11-2019 10:48 AM

@Didier: Your fstab is fine for fixed disks, although with that there, your uuids are unnecessary. That does nothing for usb keys, but I'd better shut up and not hijack @wirelessmc's thread.


All times are GMT -5. The time now is 09:35 PM.