summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cdcontrol
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-1/+1
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Make all functions and global variables static for cdcontrol(8).ed2011-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.
* This now passes a make universe with WARNS=6.dwmalone2010-01-071-2/+0
|
* New style function definitions.dwmalone2010-01-051-8/+11
| | | | | Fix constness problem - don't know that pstatus won't change a string with no whitespace.
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+1
|
* When run() returns an error, print the error message also injh2009-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
* - Enhance volume handlinggahr2008-07-142-10/+38
| | | | | | PR: 125054 Submitted by: gahr Approved by: cperciva
* getopt(3) returns -1, not EOF.ru2008-02-191-1/+1
|
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historystefanf2005-10-191-1/+1
| | | | | | size. PR: 86355
* Sort sections.ru2005-01-181-4/+4
|
* If the user doesn't specify a device and we can't open any of the defaults,dwmalone2004-04-011-6/+7
| | | | don't print an error using a uninitialised devbuf.
* * Auto-detect what device to use if none is specifiedeivind2003-11-172-18/+33
| | | | | * Replace references to mcd0 with acd0 (doc only) * Remove references to the "c" partition (doc only - code was already fixed)
* Retire 'c' partition for a CD device.maxim2003-09-012-13/+4
| | | | | Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Not objected by: -current
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* style.Makefile(5)obrien2003-04-041-0/+1
|
* Fix bug that made cdcontrol play <track> play <track> - 1eivind2003-03-241-2/+2
|
* The default CD drive is /dev/cd0, not /dev/cd0c.des2002-12-031-1/+1
| | | | | Reviewed by: jhb Approved by: re (rwatson)
* mdoc(7) police: markup fixes.ru2002-11-271-1/+3
| | | | Approved by: re
* * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.njl2002-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
* Do not add a start offset time to the track duration time.maxim2002-09-231-1/+2
| | | | | Submitted by: Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru> MFC after: 2 weeks
* de-__P()alfred2002-07-111-26/+25
|
* mdoc(7) police: tidy up the markup.ru2002-05-301-66/+70
|
* style(9): remove an EOF space.maxim2002-05-081-1/+1
|
* Implement 'speed' command: set a maximum read speed. At the moment itmaxim2002-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
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-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
* Reorder WARNS line for style.mikeh2001-12-101-2/+1
| | | | Pointed out by: bde
* style(9) cleanup: spaces -> tabs.mikeh2001-12-091-94/+95
| | | | MFC after: 2 weeks
* WARNS=2 cleanup.mikeh2001-12-092-10/+20
| | | | | PR: bin/32646 MFC after: 2 weeks
* *** empty log message ***obrien2001-10-011-3/+5
|
* Fix some nits I missed in my style cleanup.obrien2001-07-201-2/+2
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-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.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+0
|
* Remove whitespace at EOL.dd2001-07-151-13/+13
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Add the 'next' and 'prev' commands (aliased to '+' and '-') which skipkris2001-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
* Don't complain about deprecated environment variables, like MUSIC_CD,joe2001-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>
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+0
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-0/+3
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+5
|
* mdoc(7) police: removed empty line (mdocNG does not like them),ru2001-01-171-3/+7
| | | | columnate ENVIRONMENT variables.
* Deprecate the use of the CD_DRIVE, CDPLAY, DISC and MUSIC_CD environmentjoe2001-01-162-12/+20
| | | | | | variables in favour of CDROM. Discussed on: stable@FreeBSD.org
* Describe that the CDROM environment variable now affects whichjoe2001-01-141-0/+9
| | | | device is used by default.
* Prepare for mdoc(7)NG.ru2000-12-271-35/+11
|
* If no device is specified, check the CDROM environment variable beforedes2000-12-181-0/+4
| | | | picking the default device.
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Add a new command, 'cdid', to calculate and display a serial numberjoe2000-07-132-0/+99
| | | | | | for a cd, using the algorithm that the cddb database uses. Submitted by: Sergey Shkonda <serg@bcs.zp.ua>
* Fix the ^D -> core dump problem properly. ^D == "quit" again.mckay2000-07-131-3/+4
|
* Don't do anything with /dev/rXXXmsmith2000-05-311-3/+1
|
OpenPOWER on IntegriCloud