Browse Source
dev_t -> major/minor number mapping is more complicated than the incorrect major=(dev_t >> 8) minor=(dev_t & 0xff) mapping that we currently perform. Fix mapping to match Linux / glibc behaviour. Fixes: https://github.com/dracutdevs/dracut/issues/1695 Reported-by: Ethan Wu <ethanwu10@gmail.com> Signed-off-by: David Disseldorp <ddiss@suse.de>master
David Disseldorp
3 years ago
committed by
Jóhann B. Guðmundsson
1 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue