[prev in list] [next in list] [prev in thread] [next in thread]
List: util-linux-ng
Subject: Re: e2fsck: /dev/hda2 is mounted.
From: "George Spelvin" <linux () horizon ! com>
Date: 2016-03-15 19:12:05
Message-ID: 20160315191205.10399.qmail () ns ! horizon ! com
[Download RAW message or body]
> The problem in this case is /dev/root, libmount tries to convert it to
> the real device name by root= command line option, but the conversion
> is pretty poor and it does not support all relevant use-cases.
Yes, that is a bit annoying. It also breaks e4defrag. I have a kludgey
script on my systems that parses /etc/fstab and creates a /dev/root
symlink, but of course there's no guarantee that fstab matches
the kernel root= command line.
If you feel like creating a makedevroot(8) utility (which creates a
symlink if it can, or a device node if it can't), I suspect it would
be appreciated.
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic