Commit Graph

70 Commits

Author SHA1 Message Date
ru
93f5228cf5 The "fixate" command no longer terminates command processing,
so that "eject" following it can happen.
2004-12-21 14:57:37 +00:00
ru
833eea53d9 Document -F in usage() and SYNOPSIS. 2004-12-21 14:53:44 +00:00
ru
e2a37856e9 Make "burncd ... fixate eject" really work as promised. 2004-12-21 14:49:10 +00:00
ru
c5bea8b66d err() -> errx() 2004-12-17 13:24:22 +00:00
des
375f58b8c1 My fingers keep typing 'burncd data foo fixate eject' instead of 'burncd -e
data foo fixate'.  Humor them.

MFC after:	4 weeks
2004-09-15 19:03:35 +00:00
des
f950b9522d Mechanical whitespace cleanup. 2004-09-15 19:01:08 +00:00
keramida
f13c17093c Refer to the sysutils/cdrtools port now that the sysutils/mkisofs port
has been merged into the former.

PR:		docs/69087
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
MFC after:	3 days
2004-07-16 08:53:25 +00:00
markm
0b0ae8e16e Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).

There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.

Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".

Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
alfred
32e06d7c5c Use intmax_t to avoid wrap on large images in verbose output. 2003-12-28 13:32:49 +00:00
obrien
156325cd78 Catch up with the latest in device naming. 2003-11-18 02:33:27 +00:00
pb
ff06e11f55 Fix "write from stdin".
Reviewed by:	sos
MFC after:	1 week
2003-07-26 12:14:58 +00:00
ru
55c56e17eb Assorted mdoc(7) fixes.
Approved by:	re (blanket)
2003-05-22 11:52:23 +00:00
ru
5a893bc465 Fixed troff(1) and mdoc(7) warnings.
Approved by:	re (blanket)
2003-05-18 21:05:22 +00:00
sos
34cf7a7cc5 Add support for using the CDROM env var for device to use;
PR: 38178
2003-05-04 10:09:57 +00:00
sos
b0531d3fc7 Fix filename printing when using -l option.
PR: 43574
2003-05-04 10:03:15 +00:00
sos
5835d96152 Dont fixate when doing dvdrw or test writing.
PR:	47195
2003-05-04 09:55:46 +00:00
sos
e024629724 Default speed is 4 not 1.
PR: 50474
2003-05-04 09:53:05 +00:00
ru
0dea541567 mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
johan
d9350fc2a8 burncd format accepts either 'dvd+rw' or 'dvd-rw' not 'dwd+rw'.
Approved by:	sos
2003-01-23 09:12:09 +00:00
obrien
7e670eeaa0 Make fully WARNS=5 clean.
Tested on:	sparc64, x86
2002-12-30 10:57:41 +00:00
wollman
be7461fd3f Fix printf format errors on 64-bit platforms and make WARNS=5 compliant.
Checked on Alpha and IA32.

Reviewed by:	maintainer timeout
MFC after:	1 week
2002-12-29 22:28:51 +00:00
sos
923d0189b0 On drives that returns 00 as 100% done, lower the criteria
for wraparound, 99 was too much for fast drives since they
do not give 99 as the last value, but instead something
in the 90's range.
2002-12-18 07:43:42 +00:00
ru
041d1287e8 Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
ru
fef14a0ffe mdoc(7) police: markup fixes.
Approved by:	re
2002-11-27 15:31:08 +00:00
njl
6382df2350 Take care of the case for the default speed (no -s option) also. 2002-10-27 19:44:57 +00:00
njl
e11ca3bf1a Move speed units conversion to right before it is used. This catches the
case when the -s option is not used.
2002-10-27 17:43:22 +00:00
njl
588d4313cd Convert speed into KB/s. This was missed by the previous commit to this file.
MFC after:	3 weeks
2002-10-26 23:32:35 +00:00
njl
1813115081 * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.
* 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
2002-10-18 22:03:39 +00:00
sos
12355fce84 Add DVD+RW support to the ATA driver and burncd. This also closes
PR40430 by "Peter Haight <peterh@sapros.com>" that has semilar patches
included and which I merged with my own work.

HW sponsored by: FreeBSD Foundation & FreeBSD Mall Inc

Enjoy!
2002-08-08 07:59:24 +00:00
charnier
d2168fe021 The .Nm utility 2002-07-14 14:47:15 +00:00
des
4d6b787d2d Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
sos
2e383d7f2e Dont quit prematurely when writing from stdin... 2002-04-05 19:35:41 +00:00
murray
c9eab7c2de Mention the fact that you must burn an ISO image to your CDR (created
by mkisofs(8) or similar), if you actually intend to mount the data CD
created by burncd.

PR:		bin/35524
Approved by:	sos
MFC after:	3 days
2002-03-28 11:03:42 +00:00
sos
a7336f1ad6 Update headers 2002-03-04 21:11:30 +00:00
sos
c98de616cb fix the wildrunning % counter. 2002-03-04 20:50:16 +00:00
mike
bcee06d42c o Move NTOHL() and associated macros into <sys/param.h>. These are
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
2002-02-18 20:35:27 +00:00
sos
7d08d56b17 Write the "msinfo" result to stdout instead of stderr 2002-01-05 15:21:05 +00:00
sos
7ebd5ff8ee Fix the msinfo command, as mentioned in several PR's. 2001-12-27 10:10:56 +00:00
mikeh
c1b5aa0b14 Argh...save buffer before committing. NO_WERROR takes a value of
'yes', not 2.
2001-12-24 03:24:28 +00:00
mikeh
74bdcb56ab WARNS=2 fixup. Set NO_WERROR due to use of 'j' format specifier.
PR:		bin/32567
2001-12-24 03:20:10 +00:00
ru
0fc2bbdd69 mdoc(7) police:
- bump document date
- add -n to SYNOPSIS
- remove whitespace at EOL
- remove hard sentence break
- be a bit verbose about "vcd" operation
2001-12-08 16:58:48 +00:00
sos
12fc28cc23 Add the ability to write VCD/SVCD disc's.
It is still nessesary to supply the tracks as individual files, burncd
can't read .cue files yet, but now the infrastructure to do it is
present we just need a .cue file parser (hint hint)...
2001-12-04 21:48:56 +00:00
sos
8694c437cf Change the way DAO/TAO modes are init'ed. 2001-10-01 14:58:04 +00:00
sos
66fb1108f7 Use getprogname(3) instead of hardcoding the name.. 2001-09-11 12:14:20 +00:00
sos
399133a3aa Fixes from Ruslan Ermilov:
1.  FreeBSD should be spelled with "F" and "BSD" in capitals,
    even in comments.

2.  Please don't use hard sentence breaks.  Always start a
    new sentence from the new line.

3.  Don't use `#' or `$' in EXAMPLES; this has been fixed
    recently in share/examples/mdoc/ templates.

4.  Nuke the prog_name variable burncd.c, use getprogname(3).
2001-09-11 11:52:49 +00:00
sos
8cede4f874 Add DAO mode (Disk At Once).
See burncd.8 for how to use it.
2001-09-10 11:44:32 +00:00
ru
4345758876 mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
sos
a0556cd83c Change to spell erasing right.
PR 26306 but implemented differently by me.
2001-05-30 08:13:39 +00:00
dd
41ad8109a3 mkisofs is in section 8, not section 1. 2001-04-21 21:14:52 +00:00
ru
afd506414e - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00