www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/27/05:21:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <u67ae79bw6v DOT fsf AT rachel DOT hq DOT vtech>
<u671ysl8xda DOT fsf AT rachel DOT hq DOT vtech>
<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 <jojo AT virtutech DOT se>
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: <u67u25g4ej7.fsf@rachel.hq.vtech>
Lines: 21
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thalia)
MIME-Version: 1.0

Egor Duda <deo AT logos-m DOT ru> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019