[PATCH] Fix /sys/<dev>/<partition>/dev format: %04x -> %u:%u
A part of the 64 bit kdev_t patch already got merged, and it changes the format of /sys/block/<dev>/dev from %02x%02x to %u:%u. The partition could must also be changed. e.g. cat /sys/block/hda/hda5/dev should return 3:5 instead of 0305
Showing
Please register or sign in to comment