Well, AFAIK the "\tinybit\" repository is somehow a (temporary) "fork" from "main" to experiment some new things.
I wouldn't use it if not for experiments ONLY, as we don't know if it will be "merged back" to main.
Quote
This is very interesting question

. I think () may change own type corresponding context of command grub4dos.
yes.
From what I can understand, the () is interpreted slightly differently by the various commands.
Of course geometry ONLY uses the actual device part, i.e. if on a multi-partitioned disk you run:
geometry (hd0,0)
geometry (hd0,1)
geometry (hd0,2)
you get exactly the same result, as you would have with both:
geometry (hd0)
geometry ()
if current root is ANY of the partitions on the disk.
In this case is the geometry command that "trims away" the unneded partition specification.
If you try this:
root (hd0)
you get an
error 17: cannot mount selected partition
If you try:
rootnoverify (hd0)
root ()
you get an
error 17: cannot mount selected partition
which is expected.
In this, the [TAB] autocompletion helps, if you boot from floppy and issue:
root (hd0
[TAB]
the autocompletion adds a comma "," and not the closing brackets, waiting for you to choose a partition on the drive.
On the other hand if you run:
root (hd0,0)
map () (hd1,0)
map --hook
cat --hex --length=512 (hd0)+1
cat --hex --length=512 (hd1)+1
cat --hex --length=512 (hd0,0)+1
cat --hex --length=512 (hd1,0)+1
you get the SAME results as:
root (hd0,0)
map () (hd1)
map --hook
cat --hex --length=512 (hd0)+1
cat --hex --length=512 (hd1)+1
cat --hex --length=512 (hd0,0)+1
cat --hex --length=512 (hd1,0)+1
which means that also
map command "trims away" unneeded partition specification, thus, if root is (hd0,0), ANY of these:
Quote
map () (hd1)
map (hd0) (hd1)
map (hd0,0) (hd1)
map (hd0) (hd1,0)
map (hd0,0) (hd1,0)
map (hd0,m) (hd1,m)
map (hd0,m) (hd1,n)
actually mean:
map (hd0) (hd1)
jaclaz