Age | Commit message (Collapse) | Author |
|
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@
|
|
|
|
|
|
Noted by miod@
|
|
|
|
spotted by jmc@
|
|
- standard options list
- some minor tweakage
based on a diff from Rodolfo Gouveia
|
|
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).
help and feedback mbalmer
'no problem with this sensor going in' deraadt
|
|
|
|
- need to explicitly bring bridge0 up; from mpf
- final example needs "link2"; from bsd
ok mpf
|
|
ok deraadt@
|
|
also make the %'s add up to 100 again, which was part of the problem
ok krw otto
|
|
and benefit /home in exchange
ok otto
|
|
or without the '-f' option being present. Now you can see in Editor
mode or 'disklabel <dev>' where the partitions that exist will be
mounted in the current configuration.
Tweaks (and libc fixes) from, and ok deraadt@
|
|
|
|
|
|
|
|
Add support to route(8) for a new dummy operation to allow packets coming in
with a particular label to leave the MPLS cloud and join ipv4/ipv6 stack.
ok claudio@ laurent@
|
|
ok sthen
|
|
|
|
low and high ends of the disk sizes it applies to; with otto
|
|
closer, ok deraadt@ krw@
|
|
ok henning@ deraadt@
|
|
of the -f flag was reversed.
|
|
noticed due to a question from otto@, ok regress/sbin/pfctl/ ;)
|
|
echo replies. it's because the pointer arithmetic is scaled to the size
of struct icmp, so 28*28 bytes are added rather than just 28. fortunately
a correct value was calculated 2 lines earlier, so we can just use that.
"thats a cool fix" dlg, ok deraadt
|
|
the same way 'dflag' is treated. i.e. reset it when the label is
written out so a 'w' followed by a 'q' exits the editor without
further questions. Also set it whenever the 'A' command is executed.
Suggestions by Alexander Hall.
ok deraadt@
|
|
are sure. This will require another solution, based perhaps on comparing
against an earlier form of the label
|
|
without making manual changes does not ask whether you'd like to save the
new automatic disklabel. Change to follow the behaviour of -d and ask
every time. ok krw@.
|
|
|
|
since the DIOCSETREASS ioctl is called on every ruleset load and was
overriding the initial setting in pfattach(). Fix setting of the global
no-df bitmask as well.
ok henning@
|
|
|
|
offset/size information in MB if the disk is <10G, and in GB
otherwise. '-p' will override this default.
|
|
now show the planned mountpoint layout.
ok deraadt@
|
|
'lab'. So there is no need for the return value. Just use &lab
wherever it was used. No functional change.
Slightly different version read ok to blambert@
|
|
stop auto-allocation as soon as a partition can't fit. Eliminate
the 'no space to allocate ...' messages.
|
|
|
|
just display the auto-allocation plan otherwise. Don't overwrite any
spoofed partitions, insert auto allocated partitions where we can.
This is much more install script and weird architecture friendly. I'm
talking about you, macppc.
Many suggestions and code from otto@, feedback from many, cattle
prod applied by deraadt@.
ok deraadt@
"if it works for >8GB ... put it in" miod@
"to be clear, ok" todd@
|
|
frantisek holop pointing out the issue. ok deraadt@
|
|
|
|
2) packet reassembly: only one method remains, full reassembly. crop
and drop-ovl are gone.
. set reassemble yes|no [no-df]
if no-df is given fragments (and only fragments!) with the df bit set
have it cleared before entering the fragment cache, and thus the
reassembled packet doesn't have df set either. it does NOT touch
non-fragmented packets.
3) regular rules can have scrub options.
. pass scrub(no-df, min-ttl 64, max-mss 1400, set-tos lowdelay)
. match scrub(reassemble tcp, random-id)
of course all options are optional. the individual options still do
what they used to do on scrub rules, but everything is stateful now.
4) match rules
"match" is a new action, just like pass and block are, and can be used
like they do. opposed to pass or block, they do NOT change the
pass/block state of a packet. i. e.
. pass
. match
passes the packet, and
. block
. match
blocks it.
Every time (!) a match rule matches, i. e. not only when it is the
last matching rule, the following actions are set:
-queue assignment. can be overwritten later, the last rule that set a
queue wins. note how this is different from the last matching rule
wins, if the last matching rule has no queue assignments and the
second last matching rule was a match rule with queue assignments,
these assignments are taken.
-rtable assignments. works the same as queue assignments.
-set-tos, min-ttl, max-mss, no-df, random-id, reassemble tcp, all work
like the above
-logging. every matching rule causes the packet to be logged. this
means a single packet can get logged more than once (think multiple log
interfaces with different receivers, like pflogd and spamlogd)
.
almost entirely hacked at n2k9 in basel, could not be committed close to
release. this really should have been multiple diffs, but splitting them
now is not feasible any more. input from mcbride and dlg, and frantzen
about the fragment handling.
speedup around 7% for the common case, the more the more scrub rules
were in use.
manpage not up to date, being worked on.
|
|
sectors at runtime instead of constantly converting the sector values
in the label to blocks. Adjust names accordingly. No functional change.
|
|
new labels.
|
|
will show as NTFS in fdisk output.
ok todd@ otto@ deraadt@
|
|
the way disklabel works; move it into DESCRIPTION
ok krw
|
|
ok deraadt@
|
|
and not DL_GETPSIZE().
|
|
allocations fails.
looks right deraadt, krw
ok henning
|
|
'c' from descriptions of d(elete) and z(ero) commands.
Feedback from jmc@
Slightly different version ok jmc@ deraadt@
|