Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1C2dM2-0005dO-87 for mharc-grub-devel@gnu.org; Wed, 01 Sep 2004 18:13:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2dM0-0005cr-49 for grub-devel@gnu.org; Wed, 01 Sep 2004 18:13:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2dLy-0005cP-Hj for grub-devel@gnu.org; Wed, 01 Sep 2004 18:13:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2dLy-0005cM-DM for grub-devel@gnu.org; Wed, 01 Sep 2004 18:13:18 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2dGf-0001ld-7l for grub-devel@gnu.org; Wed, 01 Sep 2004 18:07:49 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id A41A987EC for ; Thu, 2 Sep 2004 00:00:52 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 01159-01 for ; Thu, 2 Sep 2004 00:00:51 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 0788C83D0 for ; Thu, 2 Sep 2004 00:00:51 +0200 (CEST) Received: from marco.marco-g.com (a82-92-27-129.adsl.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id B7A6AC045 for ; Thu, 2 Sep 2004 00:00:50 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <40595AA3.6000800@ciam.ru> <200403211711.52377.okuji@enbug.org> <405EA1DD.7030606@ciam.ru> <200403221449.41600.okuji@enbug.org> <405F6442.2070402@ciam.ru> From: Marco Gerards Date: Wed, 01 Sep 2004 22:00:51 +0000 In-Reply-To: <405F6442.2070402@ciam.ru> (Sergey Matveychuk's message of "Tue, 23 Mar 2004 01:10:10 +0300") Message-ID: <87y8jt7ip8.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new@vscan-cn.han.nl Subject: Re: GRUB2: *BSD and more patch 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: Wed, 01 Sep 2004 22:13:20 -0000 Sergey Matveychuk writes: > Yoshinori K. Okuji wrote: > >> So, regardless of your OS, let's use: >> if (S_ISREG (st.st_mode)) >> return make_device_name (drive, -1, -1); >> The same applies to other places where S_ISBLK is used. > > It's quite strange in util/i386/pc/getroot.c: > if (!S_ISREG (st.st_mode) && st.st_rdev == dev) This patch is still not applied. What are the issues and what needs to be done before it can be committed? Can't this code be changed like Okuji suggested and be committed? Thanks, Marco