kesboot
kesboot copied to clipboard
Filter real devices in `findmnt`.
This PR ticket replaces #5, as #5 used master
branch on my forked repository. However due I might commit more changes in the future, I had to create a separate branch for this PR so it won't contain changes not being scope of this PR.
Original description of PR from #5:
Currently,
kesboot
will pick any file system available first at the list, including virtual ones, forBOOT_DIR
andROOT_DEVICE
. This causes on some workflows to pick file system likesystemd-1
instead of path to real block device.This PR aims to fix that by using
--real
flag withinfindmnt
.