lkml.org 
[lkml]   [2003]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[BUG] floopy driver bug in 2.4.20

Hi all,

I found wierd bug in the floppy driver. When I have _no_ floppy inserted
in the drive, I get the expected ENXIO every _other_ (second) time, but I
get success (!) the other times:

root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
dd: opening `/dev/fd0u1440': No such device or address
1
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
1+0 records in
1+0 records out
0
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
dd: opening `/dev/fd0u1440': No such device or address
1
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
1+0 records in
1+0 records out
0
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
dd: opening `/dev/fd0u1440': No such device or address
1
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
1+0 records in
1+0 records out
0
root@brefatox:~#

...and so on...

Why is this?


root@brefatox:~# dd --version
dd (coreutils) 4.5.4
...

--
pozsy

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.047 / U:9.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site