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,
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
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,
> .
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
"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)
> {
>
"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)
> {
>
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
"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?
"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
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
10 matches
Mail list logo