Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030340AbVKHTMc (ORCPT ); Tue, 8 Nov 2005 14:12:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030342AbVKHTMc (ORCPT ); Tue, 8 Nov 2005 14:12:32 -0500 Received: from sccrmhc12.comcast.net ([63.240.77.82]:13974 "EHLO sccrmhc12.comcast.net") by vger.kernel.org with ESMTP id S1030340AbVKHTMb (ORCPT ); Tue, 8 Nov 2005 14:12:31 -0500 In-Reply-To: <20051108184957.GF6129@thunk.org> References: <3587A59B-14FA-4E0F-A598-577E944FCF36@comcast.net> <20051108172244.GR7992@ftp.linux.org.uk> <20051108184957.GF6129@thunk.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Al Viro , "linux-os (Dick Johnson)" , Linux kernel Content-Transfer-Encoding: 7bit From: Parag Warudkar Subject: Re: Compatible fstat() Date: Tue, 8 Nov 2005 14:12:24 -0500 To: "Theodore Ts'o" X-Mailer: Apple Mail (2.746.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 689 Lines: 20 On Nov 8, 2005, at 1:49 PM, Theodore Ts'o wrote: > e2fsprogs falls back to using a > binary search using SEEK_SET to find the device size. Binary search of what? I tried to read the relevant code in getsize.c but apart from suspecting that the binary search thing might be specific to ext2fs I didn't quite understand what's going on in the code. (Will it work irrespective of the file system presence on the device?) Thanks Parag - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/