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, 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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/grub-devel
>


-- 
Bean


_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to