Commit Graph

12821 Commits

Author SHA1 Message Date
Garance A Drosehn
ad1f7851dd - Fix the code that matches userids in match_jobspec(). It needs to check
the username-for-accounting field (P), not the username-for-headerpage (L).
  These are usually the same value, except that control files do not have
  the username-for-headerpage field if the user has requested no header page.
- Also rename the cji_username field to cji_headruser, to make it clear that
  the value should only be used for the header page.  (aka banner page)

MFC after:	3 weeks
2011-04-13 00:36:19 +00:00
Nathan Whitehorn
d474a63433 Make the keymap script continue to work now that stderr is being
redirected to the log file.
2011-04-11 14:46:40 +00:00
Rick Macklem
9d12ecf01e Modify the man pages to reflect the addition of a backup
stable restart file, as done by r220510.
This is a content change.

MFC after:	2 weeks
2011-04-10 13:45:46 +00:00
Rick Macklem
3d77ac51e4 Add support for a backup stable restart file to the nfsd,
used for NFSv4 restart. This permits the nfsd to create
the stable restart file as required and minimizes the risk
of trouble if the file is lost.

Suggested by:	Tim Kientzle
Reviewed by:	jhb
MFC after:	2 weeks
2011-04-10 01:54:42 +00:00
Nathan Whitehorn
23724537d0 Rename the "Reboot" option to "Exit", which reflects what it actually
does. The rc.local wrapper script will also soon grow an option to use the
live environment after installation, so an immediate reboot isn't even
necessarily implied.
2011-04-09 14:18:03 +00:00
David E. O'Brien
1e3f14466b * Add the readline(3) API to libedit. The libedit versions of
{readline,history}.h are in /usr/include/edit so as to not conflict with
  the GNU libreadline versions.  To use the libedit readline(3) one should
  add "-I/usr/include/edit" to their Makefile
  (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree).

* Enable its use in the BSD licensed utilities that support readline(3).

* To make it easier to sync libedit development with NetBSD, histedit.h
  is moved into libedit's directory as history shows shown we keep merging
  it into that location.

Obtained from:	NetBSD
Sponsored by:	Juniper Networks
2011-04-05 18:41:01 +00:00
John Baldwin
8b22f43d9d Add the ability to manage the state of write caching when the battery
back-up is missing or dead.  The current state of this field is reported
in 'mfiutil cache <volume>' and can be adjusted via
'mfiutil cache <volume> bad-bbu-write-cache <enable|disable>'.  This
setting should generally be disabled to avoid data loss.

MFC after:	1 week
2011-04-05 14:19:05 +00:00
Nathan Whitehorn
11e3829e37 Check correctly for whether there are any available wireless networks. This
was tested on a train in the middle of an upstate New York swamp.
2011-04-05 03:11:21 +00:00
Nathan Whitehorn
786d77f45c Improve logging by always sending stderr to the installation log file.
Reduce warnings by making sure the temporary etc directory exists.
2011-04-05 03:09:44 +00:00
Andrew Thompson
ea956f2614 Lower WARNS to unbreak the build, some archs may have alignment issues. 2011-04-04 03:43:13 +00:00
Andrew Thompson
0d736113d2 fix printing of tv_usec 2011-04-04 02:57:19 +00:00
Hans Petter Selasky
9e7abe05cf - Include usbdump into default build.
MFC after:	7 days
Approved by:	thompsa (mentor)
2011-04-03 22:36:40 +00:00
Hans Petter Selasky
31a1169186 - Improvements to USB PF solution
- Add more fields for USB device and host mode
- Add more information to USB PF header so that decoding
  can easily be done by software analyzer tools like
  Wireshark.
- Optimise usbdump to display USB streams in text format
  more efficiently.
- Software using USB PF must be recompiled after
  this commit, due to structure changes.

MFC after:	7 days
Approved by:	thompsa (mentor)
2011-04-03 20:03:45 +00:00
Ed Maste
1c56edaf18 Remove $Log$ keyword and associated history, which can cause annoyance in
diffs in some cases.  Revision control tools have a history command to
obtain this information.
2011-03-31 14:33:27 +00:00
Edwin Groothuis
75a59404d5 Add a menu entry for UTC in the main menu.
PR:		bin/156019
Submitted by:	Daniel O'Conner
Reviewed by:	Garrett Cooper <gcooper@FreeBSD.org>
MFC after:	1 week
2011-03-30 21:33:23 +00:00
Josh Paetzel
9e4dbe2e99 Check in two missing files missed in cleanup.
Change expr to $(())
Switch test from "$?" = "0" to $? -eq 0

Approved by:	kib (mentor)
2011-03-30 17:37:04 +00:00
Josh Paetzel
c33b75754d Fix syntax error from previous commit.
Approved by:	kib (mentor)
2011-03-30 17:33:52 +00:00
Maksim Yevmenkin
5fee5c92d0 Do not use word 'flood' as it not entirely correct. Use better 'no delay'
description. While here, replace atoi(3) with strtol(3).

Submitted by:	arundel
MFC after:	1 week
2011-03-28 23:08:18 +00:00
Nathan Whitehorn
e45dab861e Committing while tired is never a good idea. Remove an unconditional error
exit left over from debugging.
2011-03-28 04:29:50 +00:00
Nathan Whitehorn
5a03845293 Improve error handling. 2011-03-28 02:37:05 +00:00
Nathan Whitehorn
6dcef0cf52 Add mirror selection for FTP installs. To support TBEMD installs
(e.g. powerpc64), this looks in a slightly different default path than now,
specifying both $MACHINE and $MACHINE_ARCH:
MIRROR/pub/FreeBSD/releases/`uname -p`/`uname -m`/`uname -r`

How to handle TBEMD properly probably merits some more discussion, but,
since no such 9.0-CURRENT distfiles exist at the moment, all existing
mirrors presently fail anyway.
2011-03-27 23:43:32 +00:00
Josh Paetzel
6e545fce9a Fix a syntax error in a little-used function.
Replace expr with $(())
Replace grep > /dev/null with grep -q
Replace "$?" = "0" with $? -eq 0 in tests
Consolidate export statements with variable assignment
Replace tests for ! -z with -n

Approved by:	kib (mentor)
2011-03-27 16:57:54 +00:00
Josh Paetzel
cb50cf5b04 Increase size of boot partition to give breathing room in the future.
Approved by:	kib (mentor)
2011-03-27 14:20:47 +00:00
Doug Barton
83baf4bacc Add an example for the use of the <include> entry to help others
who are as slow as I am.

Discussed with:	gordon
2011-03-26 00:34:35 +00:00
Baptiste Daroussin
395b253f5f Really fix the confusion, sorry for noise
Submitted by:	avg
Approved by:	cognet
2011-03-24 12:35:59 +00:00
Baptiste Daroussin
b880379bb8 Fix confusion between a-characters and d-characters
Submitted by:	avg
Approved by:	cognet
2011-03-24 12:04:42 +00:00
Nathan Whitehorn
c31153ad4d Mark any distfiles with no checksum entries in the manifest "Skipped"
instead of "Passed".
2011-03-23 13:43:56 +00:00
Nathan Whitehorn
50de5d07d3 Allow setting of parameters for file systems (e.g. softupdates), turn on
SUJ by default, and allow creation and mounting of FAT filesystems from
the installer.
2011-03-23 01:26:21 +00:00
Jeff Roberson
e4cd31dd3c - Merge changes to the base system to support OFED. These include
a wider arg2 for sysctl, updates to vlan code, IFT_INFINIBAND,
   and other miscellaneous small features.
2011-03-21 09:40:01 +00:00
Glen Barber
224f83d2f8 Formatting fix.
Submitted by:	arundel (via doc@)
MFC after:	3 days
2011-03-17 22:17:56 +00:00
John Baldwin
b09e402ad0 Preserve errno in an error case.
Submitted by:	gcooper
2011-03-17 21:24:32 +00:00
John Baldwin
100ec05ae5 Add more details to the 'show battery' command including more raw
capacity values, charge cycle count, temperature, and more detailed
status.

Reviewed by:	bz, emaste (older version)
MFC after:	1 week
2011-03-17 17:29:46 +00:00
Nathan Whitehorn
5890a472fc Turn on softupdates by default. We need a UI to set filesystem parameters. 2011-03-15 13:27:34 +00:00
David Christensen
dd46ab31de - Initial release of bxe(4) to support Broadcom NetXtreme II 10GbE.
(BCM57710, BCM57711, BCM57711E)

MFC after:	One month
2011-03-14 22:42:41 +00:00
Nathan Whitehorn
896a9484cb Rewind manifest file in case distributions are in a different order there. 2011-03-13 18:26:16 +00:00
Nathan Whitehorn
46cc2c0240 Use the manifest file count, if available, to determine the number of files
in the archive instead of spinning through it to get a file count for the
progress bar. This speeds up installation a lot on systems with slow
CD drives.
2011-03-13 18:23:47 +00:00
Nathan Whitehorn
b70047d413 Add generation of an installation manifest containing SHA256 checksums as
well as package descriptions and add code in the installer to check the
checksums.
2011-03-13 17:15:31 +00:00
Nathan Whitehorn
84b58c137e Correct typo. 2011-03-11 19:40:49 +00:00
Ruslan Ermilov
b17e9548f8 Sync manpage's SYNOPSIS with program's usage. 2011-03-09 17:07:36 +00:00
Jung-uk Kim
644af48df6 Stop hard-coding default directory mode as 0777. 2011-03-08 20:13:29 +00:00
Nathan Whitehorn
3b613c28c5 Only validate the partition setup when the user presses "Save". If the user
wants to exit without saving, it's not a problem if the disk is set up
in an invalid way.
2011-03-08 01:17:30 +00:00
Ulrich Spörlein
c9bb895ec8 Fix some duplicate-word typos in manpages.
Submitted by:	arundel
MFC after:	1 week
2011-03-02 21:59:53 +00:00
Bjoern A. Zeeb
5033bae6d0 Prevent crashes from a race when (cloned) interfaces go away.
PR:		bin/152143
Submitted by:	Przemyslaw Frasunek (przemyslaw frasunek.com)
Tested by:	Przemyslaw Frasunek (przemyslaw frasunek.com)
MFC after:	1 week
2011-03-02 17:13:07 +00:00
Nathan Whitehorn
f7bd63a707 Make installations work when no optional components are selected. 2011-03-02 15:41:00 +00:00
Xin LI
c2e12e3f94 Correct a typo.
PR:		bin/155175
Submitted by:	Peter J. Philipp <pjp centroid.eu>
MFC after:	3 days
2011-03-02 00:29:14 +00:00
Ruslan Ermilov
58202d8973 Fixed conversion of prefix length to a netmask. 2011-03-01 11:47:16 +00:00
Poul-Henning Kamp
818bc4157a Another couple of unsigned/ssize_t changes. 2011-03-01 08:52:10 +00:00
Poul-Henning Kamp
2f203e818f Type-change to ssize_t to (app|pl)ease ppc platform. 2011-02-28 14:48:00 +00:00
Poul-Henning Kamp
6e482ac5ad Update fifolog internals to match main version:
Rename ...write_bytes... to ...write_records..., that's what they do.

Move writer .h stuff into writer private .h file.

Change logic in writer to support both fifolog usage in FreeBSD and
Measured usage better, by always using an input buffer.

Various cleanups.
2011-02-28 09:11:46 +00:00
Poul-Henning Kamp
54a3365da2 Don't override the perfectly good default ->zalloc and ->zfree functions. 2011-02-28 08:59:35 +00:00