Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JI4PI-00027U-Ab for mharc-grub-devel@gnu.org; Thu, 24 Jan 2008 10:54:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JI4PG-000276-TW for grub-devel@gnu.org; Thu, 24 Jan 2008 10:54:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JI4PE-00026u-HZ for grub-devel@gnu.org; Thu, 24 Jan 2008 10:54:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JI4PE-00026r-BO for grub-devel@gnu.org; Thu, 24 Jan 2008 10:54:20 -0500 Received: from nz-out-0506.google.com ([64.233.162.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JI4PE-0001aC-4j for grub-devel@gnu.org; Thu, 24 Jan 2008 10:54:20 -0500 Received: by nz-out-0506.google.com with SMTP id f1so213187nzc.21 for ; Thu, 24 Jan 2008 07:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=0uhgrDHFHFPF866S4DPpdwA5jTXklYIoExLIlnAjytI=; b=qRN1UwUkcN90b3kIrs/2Cc4YH+P54DD0896dEpv8ouZMGUHjii8iQ4/AlJYCz5zq4lOJrTWii/8FYsWhjiNgHJj5H3x00d56eiAgu47h1krcZN7CgGGuWHmP2wQZZCiQRLc/DbgC54SnoM2ya3sg9qCaWFoDx2I3QyGw3rxFm3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nKY2pBCDyY67EbfzbIB32b0uZtOWDl6Ea2dd87/LnnXht8jH6SCjddzJnIJChiuTnDLeewe3AH81dIFIYTUFKqFfF6CgJSbkLQOsfX8fbX49sjC+ecAFxnT4h0lNR/BgBNOTaACCC0XG9h6yM1lsRmri1JTHmqiv8MpoxmuIhVs= Received: by 10.110.70.5 with SMTP id s5mr324049tia.26.1201190057930; Thu, 24 Jan 2008 07:54:17 -0800 (PST) Received: by 10.110.31.8 with HTTP; Thu, 24 Jan 2008 07:54:17 -0800 (PST) Message-ID: Date: Thu, 24 Jan 2008 23:54:17 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080123183004.GA19087@via.ecp.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080123183004.GA19087@via.ecp.fr> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Incomplete file listing with reiserfs partition 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: Thu, 24 Jan 2008 15:54:23 -0000 On Jan 24, 2008 2:30 AM, Antoine Cellerier wrote: > Hello, > > I've been trying to use grub2 with a reiserfs partition and noticed that > it couldn't find all my files and folders. nyu and marco_g on IRC > suggested that I send a small test case. So here it comes. > > The attached disk-image.bz2 file is a 100 MB reiserfs partition with > folders 1, 2, 3, etc up to 199. When listing the folders in grub-emu > using ls (hd1)/ it only lists folders up to 163. > > grub> ls (hd1)/164 > error: file not found > > Thanks for your help, > > (Looks like the first version of the email with the attached diskimage > didn't make it, so here it is: > http://people.videolan.org/~dionoea/disk-image.bz2 . It's only 57KB > compressed) i can see the problem here. grub_reiserfs_iterate_dir only enum items in a block. when the items span over a block, the rest will be lost. -- Bean