Re: getroot for ZFS without libzfs?

2011-10-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.10.2011 18:59, Robert Millan wrote: > Hi, > > Please test / comment on proof-of-concept attached patch, it gets rid > of libzfs dependency in GRUB. > It looks like this patch would map all zpools with the same name to the same device. That's a problem since system may have several identically

RE: Read Sectors

2011-10-24 Thread Julio Alberto Cruz Barroso
OK, OK. I use the following function to read files with success: --- static int smtt_send_file(char * pathname) { static unsigned char Buffer[FILE_BUFFER_SIZE]; grub_file_t file = 0; grub_off_t ofs, len; unsigned long long bytes_sent = 0; file = grub_fil