[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB 1.95 cannot read the ufs filesystem
From: |
Bean |
Subject: |
Re: GRUB 1.95 cannot read the ufs filesystem |
Date: |
Tue, 4 Sep 2007 09:57:01 +0800 |
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 <address@hidden> wrote:
> 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,
> > .close = grub_ufs_close,
> > .label = grub_ufs_label,
> > .next = 0
> > };
> > ----end---------------------------------
> >
> > The '.label' should set to 0.
> > On the original code, The 'label' function returns the invalid pointer,
> > so the 'ls -l' command gets wrong.
>
> That is right, but I think UFS2 supports a volume name. Does anybody know it?
>
> Thanks,
> Okuji
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Bean