lkml.org 
[lkml]   [1997]   [Jan]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Harald Koenig)
Subjectreading /dev/scd0 blocks sync(2) why ?
DateSun, 12 Jan 1997 17:36:52 +0100 (MET)
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 12:38    [W:0.182 / U:0.040 seconds]
©2003-2008 Jasper Spaans