lkml.org 
[lkml]   [1997]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectreading /dev/scd0 blocks sync(2) why ?
Date
when I'm reading data from a SCSI CDROM e.g. using 

dd if=/dev/scd0 bs=2k of=/dev/null

the sync(2) system call is blocked until the "dd" command is terminated.
why ? dd opens /dev/scd0 read-only; writing to a pipe gives the same
problem so it's not writing to /dev/null...

using Linux-2.0.27, Toshiba CDROM drive connected to an AHA1542B
(only device on this SCSI bus; SCSI disks connected to NCR810).


Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^

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