RE: GRUB 1.95 cannot read the ufs filesystem

2007-09-18 Thread Hitoshi Ozeki
Hello. On 17 April 2007, I wrote: --- begin grub-1.95/fs/ufs.c -- static struct grub_fs grub_ufs_fs = { .name = "ufs", .dir = grub_ufs_dir, .open = grub_ufs_open, .read = grub_ufs_read,

Re: GRUB 1.95 cannot read the ufs filesystem

2007-09-03 Thread Bean
i think volume name of ufs2 is stored at offset 680–711 in the super block. btw, i also find out that volume name of fat is incorrect if international character is used. On 9/4/07, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote: > On Tuesday 17 April 2007 20:31, Hitoshi Ozeki wrote: > > In addition

Re: GRUB 1.95 cannot read the ufs filesystem

2007-09-03 Thread Yoshinori K. Okuji
On Tuesday 17 April 2007 20:31, Hitoshi Ozeki wrote: > In addition, ufs filesystem has no label. > > begin--- > static struct grub_fs grub_ufs_fs = > { > .name = "ufs", > .dir = grub_ufs_dir, > .open = grub_ufs_open, > .read = grub_ufs_read, > .

RE: GRUB 1.95 cannot read the ufs filesystem

2007-04-18 Thread Hitoshi Ozeki
Hello,all. I wrote in the last: At second, However we have the filepath in 'const char* path', The original code copies the filepath. It wastes the processor time. If you think the use of pointers makes complex, I recommend to use array and index. It does

Re: GRUB 1.95 cannot read the ufs filesystem

2007-04-18 Thread Johan Rydberg
"Hitoshi Ozeki" <[EMAIL PROTECTED]> writes: > At first, When we use the 'strcmp' for the purpose of comparision C-strings, > It requires to terminate with the NIL sentry('\0'). > > begin--- > grub_ufs_find_file (struct grub_ufs_data *data, const char *path) > { >

Re: GRUB 1.95 cannot read the ufs filesystem

2007-04-18 Thread Johan Rydberg
"Hitoshi Ozeki" <[EMAIL PROTECTED]> writes: > At first, When we use the 'strcmp' for the purpose of comparision C-strings, > It requires to terminate with the NIL sentry('\0'). > > begin--- > grub_ufs_find_file (struct grub_ufs_data *data, const char *path) > { >

RE: GRUB 1.95 cannot read the ufs filesystem

2007-04-17 Thread Hitoshi Ozeki
Hello, all. Johan Rydberg wrote: > GRUB 1.95 cannot read the ufs filesystem. > This patch fixes this problem, and make it a bit better. Could you maybe point out the problem for us? Personally, I think the use of pointers make the code more comple

Re: GRUB 1.95 cannot read the ufs filesystem

2007-04-16 Thread Johan Rydberg
"Hitoshi Ozeki" <[EMAIL PROTECTED]> writes: > Hello, all. > > GRUB 1.95 cannot read the ufs filesystem. > Because, 1.95 mistakes a usage of char pointer. > This patch fixes this problem, and make it a bit better. Could you maybe point out the problem for us?

Re: GRUB 1.95 cannot read the ufs filesystem

2007-04-16 Thread Johan Rydberg
"Hitoshi Ozeki" <[EMAIL PROTECTED]> writes: > GRUB 1.95 cannot read the ufs filesystem. > Because, 1.95 mistakes a usage of char pointer. > This patch fixes this problem, and make it a bit better. Thanks for you contribution. > Attached file: ufs.patch.gz (1Kbyte

GRUB 1.95 cannot read the ufs filesystem

2007-04-12 Thread Hitoshi Ozeki
Hello, all. GRUB 1.95 cannot read the ufs filesystem. Because, 1.95 mistakes a usage of char pointer. This patch fixes this problem, and make it a bit better. Attached file: ufs.patch.gz (1Kbytes) -- Hitoshi Ozeki [EMAIL PROTECTED] ufs.patch.gz Description: application/gzip-compressed