Age | Commit message (Collapse) | Author |
|
|
|
|
|
normal operations.
Prodded by deraadt@ a while ago.
|
|
ok claudio@, henning@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bounds information, ie. the zone of the disk that OpenBSD can use. Have each
pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out
this area and pass it up to userland. Then, delete all the same disk parsing
code from disklabel(8) since the kernel passes it up. Lots and lots of - signs
in the disklabel(8) code.
Tested on as many platforms as possible, the fallout will be repaired as time
goes on. To test, use disklabel -d <drive> and validate that the bounds do not
overlap any boot blocks. This same information is used by disklabel -A...
OK for the concept from krw, miod, and drahn
|
|
inet6/-inet6
|
|
ifconfig em0 -inet6
deletes all v6 addresses including link-local and prevents new ones from
being added.
ifconfig em0 inet6 <addr>
re-enables v6, brings the link local back and adds optional <addr>
ok theo reyk
|
|
|
|
|
|
|
|
arches. ok todd@ beck@
|
|
dhclient can more or less peacefully coexist. OK beck@ krw@
|
|
|
|
OK millert otto deraadt
|
|
ok krw@
|
|
ok miod@
|
|
Both cause partition sizes to be displayed using a human readable
format with the units automatically chosen by looking at the smallest
partition in the disk label. Remove forceable humanization in 'A'
code and use '-h' in install scripts.
Prodded & ok deraadt@, verbiage tweaks from jmc@
|
|
|
|
sectors, not any 'human' unit in force.
|
|
Kernel will do this now.
|
|
beeps when
pings are dropped.
suggestion to make ping and ping6 use the same flag from deraadt & sthen.
reminder to not forget about ping6 from todd and naddy.
ok deraadt, sthen
"well, i don't object..." from a few others.
|
|
not OpenBSD partitions.
|
|
If we are humanizing then add a comment to 'total sectors' line
rather than replacing 'total sectors' with a new header.
Suggestion and ok deraadt@
|
|
specific changes. OK henning@
|
|
|
|
to be specified. So only routes matching these conditions will be flushed.
This will help making dhclient less dumb when fiddeling with routes.
OK henning@
|
|
against forms of cg header corruption as experienced by todd@; ok
millert@
|
|
for success. Fix a couple of bugs where errors in checklabel() got
lost.
Make Editor 'q' and 'x' commands exit with 0 (ok) rather than 1.
i.e. non-zero exit value now reserved for failure, not a decision
to leave the disklabel unchanged. This allows the install script
to use the exit value to catch failures to write a disklabel.
|
|
this fixes an old, old bug that could cause lease entries to be lost
when initially loading client leases. found while looking for another
issue.
ok krw@
|
|
|
|
ok claudio@
|
|
error out.
Add a new user _rwalld for rpc.rwalld, and use that instead
of nobody, also unconditionally drop to _rwalld not only
if rpc.rwalld was started with euid 0 (as root).
ok deraadt@
|
|
not all Sun mice run at the canonical 1200 bps, hop between 1200, 4800 and
9600 bps by paying attention to breaks on the line.
Attachement and engine code written 7 years ago for OpenBSD/sparc, except for
sparc64 com(4) attachment. Speed hop idea borrowed from Opensolaris.
This allows sparc and sparc64 users to run X11 without needing a configuration
file anymore, as it was in the XFree86 3.x days. Multihead configurations
will still need a minimal configuration file, though.
|
|
|
|
|
|
written, rather than every time editor_alloc() is called. Respect
'-n' for mountpoint info. Reduces surprise appearance of files when
you 'x' out of Editor.
"my sunglasses did not go dark" deraadt@
|
|
smaller alloc table will have fewer mountpoints and the
extras cause confusion. And any info from '/etc/fstab'
that was loaded into mountpoints needs to be zapped too.
Noticed by jim@
|
|
|
|
my last commit. ok deraadt@
|
|
as it adds partitions. What the heck. Set it to MAXPARTITIONS. That is
the new way we are treating d_npartitions everywhere in any case. It is the
max a label can support. partitions which are not there mark themselves off.
ok krw
|
|
reading the native disklabel. This ensures cylinder alignment.
Fix disklabel to do cylinder alignment arithmetic correctly in -A
mode. Worked by accident before, since the code was protected by
D_VENDOR, which wasn't being set.
ok deraadt@
|
|
|
|
Don't do fstabfile check everywhere. Always allocate and handle
mount point arrays. Use fstabfile to control 'n' command and writing
mount point info.
Since mount points are primed from /etc/fstab now, prime origmountpoints
so 'U' works.
'D' and 'z' now free current mount point info. 'U' will not lose
undo info when repeatedly invoked. 'n' accepts existing mount point
name as valid.
|
|
cylinder boundary if SUN_CYLCHECK is defined. Don't bother rounding
any partition size to cylinder boundary if SUN_CYLCHECK is not
defined.
Should fix warning message on sparc64 noticed by dlg@.
ok deraadt@
|