Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rules: add /dev/disk/by-partuuid symlinks also for dos partition tables #3293

Merged
merged 1 commit into from May 19, 2016

Conversation

michaelolbrich
Copy link
Contributor

blkid reports PARTUUID values also for partitions that are defined by a
dos partitioning scheme. Instead of limiting the partitioning scheme to
"gpt or dos" just drop the test for the partitioning scheme and trust
blkid to do the right thing.

blkid reports PARTUUID values also for partitions that are defined by a
dos partitioning scheme. Instead of limiting the partitioning scheme to
"gpt or dos" just drop the test for the partitioning scheme and trust
blkid to do the right thing.
@keszybz keszybz added the udev label May 19, 2016
@keszybz keszybz merged commit cfd75d5 into systemd:master May 19, 2016
@teg
Copy link
Contributor

teg commented May 23, 2016

Why? Is this really sane? What kind of UUID's does DOS partitions have?

@michaelolbrich
Copy link
Contributor Author

It's not a real UUID but -. The disk signature is a 32 bit value in the MBR. So it looks like this: 9bdf2dc6-02
This is already works for PARTUUID= for the rootfs= kernel command line argument and /etc/fstab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

4 participants