Blog

Viewing posts from August, 2016

Find the device mounted as / on Linux

When /dev/root (which is mostly a symlink to the actual block device mounted as root) is not available, instead of parsing /proc/cmdline (which is not guaranteed to contain the root= paramater), better to use the 'findmnt' tool as: