| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Fix constness problem - don't know that pstatus won't change a string with no
whitespace.
|
|
|
|
|
|
|
|
|
| |
non-interactive mode. Previously error messages were printed only in
interactive mode.
PR: bin/124517
Approved by: trasz (mentor)
MFC after: 1 month
|
|
|
|
|
|
| |
PR: 125054
Submitted by: gahr
Approved by: cperciva
|
| |
|
|
|
|
|
|
| |
size.
PR: 86355
|
|
|
|
| |
don't print an error using a uninitialised devbuf.
|
|
|
|
|
| |
* Replace references to mcd0 with acd0 (doc only)
* Remove references to the "c" partition (doc only - code was already fixed)
|
|
|
|
|
| |
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Not objected by: -current
|
| |
|
| |
|
|
|
|
|
| |
Reviewed by: jhb
Approved by: re (rwatson)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
Submitted by: Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru>
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
| |
PR: bin/32646
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
variables in favour of CDROM.
Discussed on: stable@FreeBSD.org
|
|
|
|
| |
picking the default device.
|
|
|
|
| |
Use _PATH_* where where possible.
|
|
|
|
|
|
| |
for a cd, using the algorithm that the cddb database uses.
Submitted by: Sergey Shkonda <serg@bcs.zp.ua>
|
| |
|
| |
|
|
|
|
| |
PR: bin/15101
|
|
|
|
|
|
|
|
| |
then a ^D at the prompt.
cdcontrol> play 1 14
cdcontrol>
zsh: 40874 segmentation fault (core dumped) /usr/sbin/cdcontrol -f /dev/cd1c
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(num > MAX) ? MAX : num
rather than
(MAX > num) ? MAX : num
Also, make things a little easier to read while I'm here.
|
| |
|
|
|
|
|
|
|
|
| |
Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.
Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)
|
|
|
|
|
|
|
| |
(2) Use 'device' instead of 'device name', there seems to be a precedent in
/usr/share/man/man1
Prompted By: bde
|
|
|
|
|
|
|
| |
volume value for the disc. It is now possible to specify additional arguments
(audio, volume, media) to print only a subset of the full status.
This is particularly useful with drives which stop playing when asked to
return the catalog number.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
| |
|
|
|
|
| |
Submitted by: vak@cronyx.ru
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|