yast / yast-storage-ng

Rewrite of https://github.com/yast/yast-storage
http://yast.github.io/
GNU General Public License v2.0
14 stars 20 forks source link

Allow quotes when matching fstab device entries #1291

Closed teclator closed 2 years ago

teclator commented 2 years ago

Problem

When an fstab first field entry contains quotes surrounding the UUID or label then the filesystem match fails and do not find any filesystem for the given device.

Solution

Modify the Regexp for matching device names using UUID or labels surrounded by quotes.

Testing

wfeldt commented 2 years ago

All util-linux based tools allow quotes (either double or single) due to blkid_parse_tag_string() here: