On Mon, Dec 18, 2017 at 10:42 PM, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > > On Thu, Dec 14, 2017, 07:00 Carlo Caione <ca...@caione.org> wrote: >> >> From: Carlo Caione <ca...@endlessm.com> >> >> In endless we are using hexdump to read into the hiberfil.sys windows >> file to detect if windows is hybernated or not. >> >> With this patch we introduce a new parameter to hexdump to enable the >> possibility to save the output to a variable. > > Why not use the hibercheck command for this?
You mean grub-file --is-hibernated-hiberfil ? Well, simply because I didn't know that even existed. I'll use that instead. Thanks, -- Carlo Caione | +44.7384.69.16.04 | Endless _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel