Does stat return a correct size even for a block device file
(i.e. a file "settrans"ed with storeio) on GNU/Hurd? I'm not sure,
since I have no GNU/Hurd machine at hand for now. If yes, I think the
grub shell can get correct geometries even on Hurd, with code like
this:

stat("/dev/hd0", &st);
total_sectors = st.st_size >> 9;

Okuji

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to