| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
|
| |
|
|
|
|
|
|
| |
MFC after: 2 months
Sponsored by: Bright Path Solutions
Reviewed by: tjr
|
| |
|
|
|
|
|
|
|
|
| |
when using '-p' with reboot, and the power down action failds, reboot
the system normally. The behaviour of 'halt -p' and of shutdown(8) is
unchanged.
Approved by: roberto
|
|
|
|
| |
Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'-p' is used on the reboot(8) command line.
This is intended for use when you want to attempt a power down
action, but you want the system to reboot (not halt) if the
power down action fails.
This is typically useful when the power-off action performed by
the kernel consists in signalling an uninterrupted power supply
that it should shut down its inverter if mains power has not returned.
The behaviour of shutdown(8) and init(8) is not modified;
only the behaviour of invoking 'reboot -p' manually is
modified, and then only in the case when a power-down action
fails.
Sounded reasonable to: phk
Approved by: roberto (mentor)
|
|
|
|
|
|
| |
the first label to the raw disk.
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
| |
(There is a theoretical limit of 16384 partitions)
|
| |
|
|
|
|
|
|
|
|
| |
to test whether a link is live.
PR: 38573
Submitted by: David Taylor <davidt@yadt.co.uk>
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
ifconfig IF ether WHATEVER -alias
PR: 42544
Submitted by: Mike Makonnen <makonnen@pacbell.net>
|
|
|
|
|
|
| |
According to Kirk: "Luckily, the statement is usually true".
Spotted by: FlexeLint
|
|
|
|
|
|
|
|
| |
rules don't apply to tokens that are supposed to represent single args.
This was only fixed in the man page.
Fixed other differences between the man page and the usage message (1
formatting bug and 1 syntax bug).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h.
These two new copies are still intact copies of disklabel.h and
therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them
in programs which already include <sys.disklabel.h> is currently a
no-op.
This commit adds a number of such #includes.
Once I have verified that I have fixed all the places which need fixing,
I will commit the updated versions of the three #include files.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
- check for malloc() failures.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Setting this flag on an ethernet interface blocks transmission of packets
and discards incoming packets after BPF processing.
This is useful if you want to monitor network trafic but not interact
with the network in question.
Sponsored by: http://www.babeltech.dk
|
|
|
|
|
|
| |
ENXIO.
Glanced at by: imp, gallatin
|
| |
|
|
|
|
|
|
|
|
| |
fill_reject_code(). Please note ipfw/ipfw2.c is not affected.
PR: bin/42304
Submitted by: Andy@wantpackets.com
MFC after: 1 day
|
| |
|
|
|
|
|
|
| |
attributes.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
| |
o Remove EOL spaces.
Submitted by: Harold Gutch <logix@foobar.franken.de> (typo patch)
Approved by: luigi
MFC after: 3 days
|
|
|
|
|
|
| |
to propagete BSD disklabels to architectures not already so polluted.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
| |
userland, rather than expect all possible GEOMetries to know about
BSD disklabels.
Sponsored by: DARPA & NAI Labs
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
|
| |
|
| |
|
|
|
|
|
|
| |
if it doesn't do anything yet.
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
|
|
| |
expecting a bogo-disklabel to contain them, if possible.
This makes fdisk work with GEOM.
|
|
|
|
|
|
| |
last commit.
Spotted by: kris
|
|
|
|
| |
PR: 41870
|
|
|
|
|
|
|
|
|
|
|
| |
has always done.
Technically, this is the wrong format, but it reduces the diffs in
-stable. Someday, when we get rid of ipfw1, I will put the port number
in the proper format both in kernel and userland.
MFC after: 3 days
(with re@ permission)
|
|
|
|
|
|
| |
bcopy/memcpy) seperately.
Submitted by: bde
|
|
|
|
|
|
|
| |
the timestamp was aligned. ie: Use a void * instead of struct timeval *
which gcc assumes will be aligned. Go back to memcpy().
Submitted by: bde
|
|
|
|
| |
Noticed by: bde
|
|
|
|
| |
calculated dynamically here.
|
| |
|
| |
|
|
|
|
|
| |
PR: docs/42543
Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
|
|
|
|
|
|
|
| |
the issue of not having any free bits left for additional commands.
Approved by: ken
MFC after: 4 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
in /etc/fstab. This isn't a real fix though and I'm still not sure
why it started failing. mount(8) breaks up the nfs args into seperate
repeated '-o option=value' arguments. But, the altflags variable that
we use to track things is incrementally built up each time we see the
next option and shows us the cumulative set of flags, not just the
flag that we are currently looking at. As a result, the strstr hack
for looking up flags in a giant -o opt=val,opt=val, etc string was failing
and causing a segfault. I do not know what changed recently that caused
this to suddenly break, but the code has been rather bogus for some time.
|
|
|
|
|
| |
Approved by: ken
MFC after: 4 weeks
|
|
|
|
| |
Fixed other bugs in the usage message so that it matches the man page.
|
|
|
|
|
|
| |
anymore.
Sponsored by: DARPA & NAI Labs.
|