aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/cdcontrol
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Remove last remnants of acd(4), mcd(4), and scd(4) drivers.Alex Kozlov2016-08-252-15/+5
| | | | | | | Approved by: jhb Notes: svn path=/head/; revision=304814
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-192-3/+3
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+22
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |/ |/| | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
|/ | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=268804
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Make all functions and global variables static for cdcontrol(8).Ed Schouten2011-11-061-57/+78
| | | | | | | | | While there, replace __const by const, which seems to be our preference nowadays. Also fix some style(9) bugs by adding newlines and removing unneeded spaces from function declarations. Notes: svn path=/head/; revision=227225
* This now passes a make universe with WARNS=6.David Malone2010-01-071-2/+0
| | | | Notes: svn path=/head/; revision=201724
* New style function definitions.David Malone2010-01-051-8/+11
| | | | | | | | Fix constness problem - don't know that pstatus won't change a string with no whitespace. Notes: svn path=/head/; revision=201608
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-1/+1
| | | | Notes: svn path=/head/; revision=201390
* When run() returns an error, print the error message also inJaakko Heinonen2009-10-071-2/+6
| | | | | | | | | | | | non-interactive mode. Previously error messages were printed only in interactive mode. PR: bin/124517 Approved by: trasz (mentor) MFC after: 1 month Notes: svn path=/head/; revision=197833
* - Enhance volume handlingPietro Cerutti2008-07-142-10/+38
| | | | | | | | | PR: 125054 Submitted by: gahr Approved by: cperciva Notes: svn path=/head/; revision=180507
* getopt(3) returns -1, not EOF.Ruslan Ermilov2008-02-191-1/+1
| | | | Notes: svn path=/head/; revision=176407
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historyStefan Farfeleder2005-10-191-1/+1
| | | | | | | | | size. PR: 86355 Notes: svn path=/head/; revision=151471
* Sort sections.Ruslan Ermilov2005-01-181-4/+4
| | | | Notes: svn path=/head/; revision=140442
* If the user doesn't specify a device and we can't open any of the defaults,David Malone2004-04-011-6/+7
| | | | | | | don't print an error using a uninitialised devbuf. Notes: svn path=/head/; revision=127714
* * Auto-detect what device to use if none is specifiedEivind Eklund2003-11-172-18/+33
| | | | | | | | * Replace references to mcd0 with acd0 (doc only) * Remove references to the "c" partition (doc only - code was already fixed) Notes: svn path=/head/; revision=122855
* Retire 'c' partition for a CD device.Maxim Konovalov2003-09-012-13/+4
| | | | | | | | Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Not objected by: -current Notes: svn path=/head/; revision=119653
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-031-4/+2
| | | | Notes: svn path=/head/; revision=114601
* style.Makefile(5)David E. O'Brien2003-04-041-0/+1
| | | | Notes: svn path=/head/; revision=113091
* Fix bug that made cdcontrol play <track> play <track> - 1Eivind Eklund2003-03-241-2/+2
| | | | Notes: svn path=/head/; revision=112559
* The default CD drive is /dev/cd0, not /dev/cd0c.Dag-Erling Smørgrav2002-12-031-1/+1
| | | | | | | | Reviewed by: jhb Approved by: re (rwatson) Notes: svn path=/head/; revision=107552
* mdoc(7) police: markup fixes.Ruslan Ermilov2002-11-271-1/+3
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107312
* * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.Nate Lawson2002-10-182-7/+8
| | | | | | | | | | | | | | | | | | * Change atapi-cd ioctls to use the same units. * Change burncd, cdcontrol to convert CDROM speed to KB/sec before calling the ioctl. Add a "max" speed option for their command lines. This change does not break ABI but does change the units passed through the ioctl so 3rd party software that uses cdrio.h will have to convert (most likely by multiplying CDROM speed by 177 to get KB/s). PR: kern/36845 Submitted by: Philipp Mergenthaler <p@i609a.hadiko.de> (CAM ioctls) Reviewed by: sos, ken MFC after: 1 month Notes: svn path=/head/; revision=105421
* Do not add a start offset time to the track duration time.Maxim Konovalov2002-09-231-1/+2
| | | | | | | | Submitted by: Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru> MFC after: 2 weeks Notes: svn path=/head/; revision=103861
* de-__P()Alfred Perlstein2002-07-111-26/+25
| | | | Notes: svn path=/head/; revision=99800
* mdoc(7) police: tidy up the markup.Ruslan Ermilov2002-05-301-66/+70
| | | | Notes: svn path=/head/; revision=97557
* style(9): remove an EOF space.Maxim Konovalov2002-05-081-1/+1
| | | | Notes: svn path=/head/; revision=96214
* Implement 'speed' command: set a maximum read speed. At the moment itMaxim Konovalov2002-05-082-0/+22
| | | | | | | | | | | | works on ATAPI drives only. PR: kern/35512 (a part of) Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de> Reviewed by: -hackers MFC after: 1 month Notes: svn path=/head/; revision=96213
* Use `The .Nm utility'Philippe Charnier2002-04-201-2/+3
| | | | Notes: svn path=/head/; revision=95127
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* Reorder WARNS line for style.Mike Heffner2001-12-101-2/+1
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=87629
* style(9) cleanup: spaces -> tabs.Mike Heffner2001-12-091-94/+95
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=87573
* WARNS=2 cleanup.Mike Heffner2001-12-092-10/+20
| | | | | | | | PR: bin/32646 MFC after: 2 weeks Notes: svn path=/head/; revision=87568
* *** empty log message ***David E. O'Brien2001-10-011-3/+5
| | | | Notes: svn path=/head/; revision=84261
* Fix some nits I missed in my style cleanup.David E. O'Brien2001-07-201-2/+2
| | | | Notes: svn path=/head/; revision=80049
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-2/+2
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Remove GCC'isms in CFLAGS.David E. O'Brien2001-07-201-1/+0
| | | | Notes: svn path=/head/; revision=80022
* Remove whitespace at EOL.Dima Dorfman2001-07-151-13/+13
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* Add the 'next' and 'prev' commands (aliased to '+' and '-') which skipKris Kennaway2001-05-252-11/+78
| | | | | | | | | | | | | | forward or backward by a specified number of tracks (defaulting to 1). Use strvisx() to display the media catalog in case it contains unprintable characters. Sort includes. Based on two patches submitted by PR, plus style fixes and other changes of my own. Submitted by: Seth Kingsley <sethk@osd.bsdi.com>, Maxime Henrion <mux@qualys.com> PR: bin/22672, bin/26962 MFC After: 1 week Notes: svn path=/head/; revision=77168
* Don't complain about deprecated environment variables, like MUSIC_CD,Josef Karthauser2001-04-081-8/+9
| | | | | | | | | | | | | being present in the environment if the user has CDROM defined, or has specified a device on the command line. This avoids users of ports like 'workman' that use these variables getting gratuitous warnings from cdcontrol. Suggested by: John Sellens <jsellens@generalconcepts.com> Notes: svn path=/head/; revision=75324