Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: cygwin AT cygwin DOT com Subject: Re: lseek() fails to seek on /dev/fd0 ('\\.\A:') References: <613331659 DOT 20010226160225 AT logos-m DOT ru> <3A9A621F DOT 7661F240 AT yahoo DOT com> <8019743569 DOT 20010226174917 AT logos-m DOT ru> From: Jesper Eskilson Organization: Virtutech AB Date: 27 Feb 2001 11:16:12 +0100 In-Reply-To: Egor Duda's message of "Mon, 26 Feb 2001 17:49:17 +0300" Message-ID: Lines: 21 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thalia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Egor Duda writes: > unfortunately, i haven't any linux boxes with floppies around to > check, so could somebody run this program on linux with or > without media in drive and (if possible) with media of different > sizes, i.e. 1.44M and 720K floppies, and report what it prints when > run as './floppy 0' or './floppy 1000' or './floppy 1024' ? bash$ ./floppy 0 offset = 0; filepos = 0 bash$ ./floppy 1000 offset = 1000; filepos = 1000[ bash$ ./floppy 1024 offset = 1024; filepos = 1024 /Jesper -- ------------------------------------------------------------------------- Jesper Eskilson jojo AT virtutech DOT se Virtutech http://www.virtutech.se ------------------------------------------------------------------------- -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple