IDE DVD playback on 5.1-CURRENT

David O'Brien obrien at freebsd.org
Fri Aug 29 11:28:59 PDT 2003


On Fri, Aug 29, 2003 at 10:10:46AM -0700, Terry Lambert wrote:
> David O'Brien wrote:
> > On Thu, Aug 28, 2003 at 01:29:22AM -0700, Terry Lambert wrote:
> > > 1)    dd if=/dev/acd0 count=1 of=/dev/null
> > > 2)    dd if=/dev/acd0c count=1 of=/dev/null
> > > 3)    dd if=/dev/acd0a count=1 of=/dev/null
> >                                               ^^^^
> >                                               bs=2k
> 
> Yes, sorry; I forgot that FreeBSD's dd does not stat its endpoints
> to see if they are devices, and gets the st_blksize and insists
> that it be used (at least internally) for S_IFBLK and S_IFCHR
> values of st_mode.
> 
> Perhaps it should be unbroken by someone with a commit bit and/or
> the ability to have their send-pr's not rejected as relay SPAM.

I doubt it, this wasn't necessary with SCSI cdrom's until GEOM -- PHK
thought it a feature to have to require the user to remember the "bs=2k",
so I don't think anyone will ever be able to get this "fixed" in the
tree.


More information about the freebsd-current mailing list