>   # root partition
>   rootpart=$(grep -o "root=[^ ]*" /proc/cmdline | cut -d= -f2)
> 
> The only issue I can see with this is that it depends on a functional
> proc mount - which seems reasonable. One could elaborate upon this
> slightly in order to perform a simple check to ensure that /proc is
> actually mounted correctly. In any case, it seems to be a reliable
> method of determinining the correct root device and I would therefore
> like for it to be considered for inclusion.

This, with a fallback to the old behavior if /proc is not mounted, seems
reasonable.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to