
Feature changed by: Rajko Matovic (rajko_m) Feature #306321, revision 5 Title: disk id change in fstab openSUSE-11.2: Unconfirmed Priority Requester: Important Requested by: Jean-Daniel Dodin (jdd_sysop) Description: "That basic request is that one or more simple tools be provided to allow a fstab to be automatically converted from /dev/sdaX nomenclature to one of the preferred methods." In other words, its now necessary to use YaST partitionner to change the fstab entry from /dev/sdx to the veeeeeeeeery long disk identification. This is very scary and is now nearly mandatory for updates. So it would be important to have some utility to make only this change in fstab and no other. If possible add the choice to use and set on the fly disk ID. Discussion: #1: Greg Freemyer (gregfreemyer) (2009-04-01 15:44:41) I believe as part of this a method/tool will have to be found that will allow a swap partition to be labeled while in use. I tried this via the yast-partitioner and it failed (See bugzilla 490817 (https://bugzilla.novell.com/show_bug.cgi?id=490817) ) I also attempted from the CLI via mkswap -L. Not too surprised that this failed and I doubt it is a bug, but merely the way it works. I am unaware of any tool/app that is specifically designed to allow the label to be set with the swap partition in use. #2: Greg Freemyer (gregfreemyer) (2009-04-01 15:49:21) Also, the new feature should be available to at least 11.1 users, so that the 11.2 upgrade process can tell users to perform the fstab restructure via a specific tool. Currently it just says something like: Warning Some partitions on /dev/sda/ are mounted by kernel-device name. This is not reliable for the update since kernel device names are not persistent. It is strongly recommended to start the old system and change the mount-by method to any other method for all partitions. #3: Greg Freemyer (gregfreemyer) (2009-04-01 17:08:29) Currently, the fstab could be switched to /dev/disk/by_uuid/ with little effort other than the swap partition as I mentioned before. If the tool were to need to support mount by_label for filesystems, then labeling various mounted filesystems would be needed. I tested doing this via the yast-partitioner and found that ext3 and xfs can be labeled and the fstab updated on the fly. reiserfs failed for me. So online label support would need to be developed for it as well. + #4: Rajko Matovic (rajko_m) (2009-04-06 01:39:06) + As this is about adding tools to handle partitions, there is yet + another for workflow in YaST Partitioner that will allow to label + partition without including it in static configuration file /etc/fstab + . External drives, USB sticks, memory cards, as devices that are + dynamically mounted under /media most of the time, and don't need to be + in fstab. + Current setup allows to Edit partition information, but after that + partition is listed in fstab, and user have to mount it by hand. -- openSUSE Feature: https://features.opensuse.org/306321