Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ISNf8-0005mp-CJ for mharc-grub-devel@gnu.org; Mon, 03 Sep 2007 21:57:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISNf7-0005lq-3G for grub-devel@gnu.org; Mon, 03 Sep 2007 21:57:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISNf5-0005kA-KS for grub-devel@gnu.org; Mon, 03 Sep 2007 21:57:04 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISNf5-0005k0-CX for grub-devel@gnu.org; Mon, 03 Sep 2007 21:57:03 -0400 Received: from py-out-1112.google.com ([64.233.166.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISNf5-0006gY-0k for grub-devel@gnu.org; Mon, 03 Sep 2007 21:57:03 -0400 Received: by py-out-1112.google.com with SMTP id a73so3477257pye for ; Mon, 03 Sep 2007 18:57:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DjFDoh1l800FCaaj7twb3VV+xngOJM+V1HLL0YP4TGyXMP+Le8O9+QarcPUhe9DBt87oQ9XxnrEIQ8eM2H8J6YuQp4BzbqtMKfeJ1N/137pxuABcuULaGu+PH/7EK8ej36OLEXuWN8JDZ7SirERebYhfrRql/F2XgEKceHBPqeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i6RqlFXbc0D1AFLMVp4Zm+xIGvEAnZEAa2j0hAuB0t35B2+gOPDQuBF17fclcBUux2yLFUcnATIiAPRQAYlpQ7r+Agm2D+Za3fSA6cLfnyELwCLmPDaUaAbSyziQf1+Rs+0SX5c9u10Nm/VApK2r/P6CYClzbR7vRw5NBKpHeWQ= Received: by 10.65.213.4 with SMTP id p4mr9333581qbq.1188871022014; Mon, 03 Sep 2007 18:57:02 -0700 (PDT) Received: by 10.64.48.11 with HTTP; Mon, 3 Sep 2007 18:57:01 -0700 (PDT) Message-ID: Date: Tue, 4 Sep 2007 09:57:01 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <200709032249.26299.okuji@enbug.org> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000001c7811e$9f928490$030010ac@ozeki> <200709032249.26299.okuji@enbug.org> X-Detected-Kernel: Linux 2.6 (newer, 2) Subject: Re: GRUB 1.95 cannot read the ufs filesystem X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 01:57:05 -0000 i think volume name of ufs2 is stored at offset 680=96711 in the super bloc= k. btw, i also find out that volume name of fat is incorrect if international character is used. On 9/4/07, Yoshinori K. Okuji 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 =3D > > { > > .name =3D "ufs", > > .dir =3D grub_ufs_dir, > > .open =3D grub_ufs_open, > > .read =3D grub_ufs_read, > > .close =3D grub_ufs_close, > > .label =3D grub_ufs_label, > > .next =3D 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 > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Bean