On Tue, Feb 2, 2016 at 6:20 AM, Alan Perry <[email protected]> wrote:
>
> Is there a way in the blocklist syntax (e.g., "(hd0)0+100" to specify blocks
> 0-99 of hd0) to specify all blocks? It looks like the offset is optional,
> but the length is required.
>

Yes, looks like it.

> Is there some other way to specify the entire contents of a device to
> commands that take a file argument?
>

I can think of two ways to get it

- allow ($hdd) syntax without filename to mean "full device"
- extend probe command to query device size, so you could do

probe --size --set size $hdd
whatever ($hdd)+$size

I prefer the latter. Patches are welcome :) But please explain your
use case if submitting.

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to