Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 02:21:36 -0700 (PDT)
From:      Søren Schmidt <sos@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ata atapi-cd.c
Message-ID:  <200008110921.CAA40485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
sos         2000/08/11 02:21:36 PDT

  Modified files:
    sys/dev/ata          atapi-cd.c 
  Log:
  Add support for accessing individual tracks on a CD.
  
  This is done by misusing the device minor a bit to encode the
  track no there.
  
  So to read track #4 just use /dev/acdNt4 where N is the device #.
  
  The driver no automatically sets the blocksize (sectorsize) to
  what the track is set to in the TOC.
  
  This has the nice effect that you can now rip audioi tracks
  by simply doing:
  
  dd if=/dev/acdNt2 of=audiotrack2.raw bs=2352
  
  it cant be much simpler than that :)
  
  NOTE: the original acdNa & acdNc device still work as usual,
  except the blocksize is set according to track0.
  
  Revision  Changes    Path
  1.61      +32 -6     src/sys/dev/ata/atapi-cd.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008110921.CAA40485>