summaryrefslogtreecommitdiff
path: root/usr.bin/cdio/mmc.c
AgeCommit message (Collapse)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2013-11-12bring prototypes into scopeTheo de Raadt
2010-03-01Add printing of current profile and feature information to 'info'Kenneth R Westerback
command with -v. Make a second -v cause printing of raw feature data and a full list of profiles. A few minor tweaks to the feature bitmap handling. Helps in debugging media problems in cdio. Suggestions from fgsch@, man page fixes from jmc@ as usual. ok beck@ deraadt@
2009-12-04Do not write 16bit values directly to odd addresses - strict alignmentClaudio Jeker
architectures don't like that. Makes cd blanking on sparc64 possible. OK deraadt@, krw@, jasper@
2008-08-30use a bitmap to store the features. simplify the code a bit and allow forFederico G. Schwindt
future work. ok av@ a similar diff.
2008-08-13Old drives (reported Giovanni Bechis <bigionews@snb.it>) don't report CD-RWav
write feature. Add additional check for media type before blanking. The patch fixes problem for Giovanni. ok fgsch
2008-08-08o use definitions from cd.hFederico G. Schwindt
o remove unused function prototype
2008-07-23we really need unsigned in arithmetic operations.av
comments by fgsch
2008-06-30set speed for writing tracks in TAO.av
ok and tweaks by fgsch manual page by jmc
2008-06-22Automatically distinguish between CD-DA track and WAVE audio file writing themav
in TAO mode. For WAVE files we should skip header. ok and comments by fgsch
2008-06-08add ability to determine media capabilities (what we can do with media).av
ok fgsch
2008-06-06Make open_cd() remember open mode. "blank" doesn't have to check for EPERMav
anymore. idea by jakemsr ok jakemsr ratchov fgsch (with tweaks)
2008-05-30cdio's blank command blanked CD twise. Fixed.av
ok jakemsr krw millert ratchov
2007-07-31make rip code work like mmc code for how it does progress reports (useTheo de Raadt
a timer, so that stderr does not get splattered); tested by xsa and others
2006-08-28fix up disc size check.Michael Coulter
ok krw@ deraadt@
2006-08-26print updates on the same line, per second, as we go along writing, inTheo de Raadt
the following form: track 01 'd' 00328891/00328891 100% checked lots, but nobody replied to my mail...
2006-06-27add message on session closeMichael Coulter
2006-06-27improve output during cd writing; ok mjcTheo de Raadt
2006-06-21retry if sense code indicates not ready. fixes writing for drivesMichael Coulter
that issue long write in progress if the write buffer is full. ok deraadt@
2006-06-15put fd into track's struct so we can fail earlierMichael Coulter
'looks good' pat@
2006-06-06minor cleanupTheo de Raadt
2006-06-06zap another magic numberMichael Coulter
spotted by deraadt@
2006-06-06make use of new structs and defines in cd.hMichael Coulter
dispells some magic numbers
2006-06-01minor tweaksTheo de Raadt
2006-06-01add checks for disc size before we set out trying to burn 4gbMichael Coulter
onto an unsuspecting cdr
2006-06-01better command line usage as suggested by deraadt@Michael Coulter
ok @deraadt
2006-05-31bogus value in cdb. excess cut n' paste.Michael Coulter
2006-05-31add license blockMichael Coulter
spotted by Dries Schellekens
2006-05-31when blanking, if fd is already open read-only, re-open read/writeMichael Coulter
2006-05-31add rewritable blanking and track-at-once burning supportMichael Coulter
ok deraadt@