Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-16 | Nuke support for 1024- and 2048-byte sector devices. Error out if | Kenneth R Westerback | |
anything other than 512-byte sectors are encountered. Unlink deblock_media.c from the build. ok jasper@ | |||
2016-01-16 | Interface status printing (at exit and USR1) was broken for a while. | Can Erkin Acar | |
Remove it completely to simplify the code. even better deraadt@ | |||
2016-01-15 | As with compute_device_size(), gut compute_block_size() and simply | Kenneth R Westerback | |
ask the disklabel as everyone else does. Add file name to compute_block_size() parameters to make error messages nicer. | |||
2016-01-15 | We don't need yet another alias for DEV_BSIZE. Use DEV_BSIZE and | Kenneth R Westerback | |
nuke PBLOCK_SIZE and another unused #define. | |||
2016-01-15 | Two more for the attic. | Kenneth R Westerback | |
2016-01-15 | Replace bitfield_get() and bitfield_set() abstraction with simple masking | Kenneth R Westerback | |
operations since all the uses but 1 are for 1 bit fields. No functional change intended. Unhook bitfield.c from build. | |||
2016-01-14 | Kill unused variable 'lfile'. | Kenneth R Westerback | |
2016-01-14 | detect multiple root queues on a single interface and give a nice error | Henning Brauer | |
message - beats "pfctl: DIOCXCOMMIT: Invalid argument". from Nathanael Rensen <nathanael at list.polymorpheus.com>, 10x! ok sthen phessler, commit reminder mikeb | |||
2016-01-14 | Move more unused files to attic. | Kenneth R Westerback | |
2016-01-14 | Don't include hfs_misc.h, which no longer contains anything of use. | Kenneth R Westerback | |
2016-01-14 | Nuke 'HFS_name' field which was not referenced now other than setting | Kenneth R Westerback | |
it and freeing it. Unhook hfs_misc.c from build since it now longer contains anything being used. | |||
2016-01-14 | Remove code supporting undocumented and inaccessible flags 'a' | Kenneth R Westerback | |
(abbreviate partition type names), 'f' (print HFS partition names) and 'kLogicalOption' (obviously a getopt_long() conversion error). | |||
2016-01-13 | Make 'ifconfig $if mode' a valid subcommand that works independently of | Stefan Sperling | |
the 'media' subcommand. Allow clearing the mode with 'ifconfig $if -mode'. This makes commands such as 'ifconfig iwn0 mode 11a' work without having to type all of 'ifconfig iwn0 media autoselect mode 11a'. ok sthen@ deraadt@ jmc@ | |||
2016-01-13 | Remove obsolete flags (h, v, i, c) from getopt() call. | Kenneth R Westerback | |
No need for 'flags' variable. Just call usage() on unknown options. | |||
2016-01-13 | Nuke unused enum. | Kenneth R Westerback | |
2016-01-12 | #define LOFF_T off_t | Kenneth R Westerback | |
#define llseek lseek #define LOFF_T_MAX LLONG_MAX I mean, really? Nuke'em and use off_t, lseek and LLONG_MAX. Also make a couple of checks for overflow of off_t value more likely to work. ok millert@ | |||
2016-01-12 | Another unused file for the attic. | Kenneth R Westerback | |
2016-01-12 | The only thing in pdisk.h is an unused #define. So don't include it. | Kenneth R Westerback | |
2016-01-12 | Move unused files to attic. | Kenneth R Westerback | |
2016-01-12 | Use normal err/errx/warn/warnx rather than handrolling new ones. Move | Kenneth R Westerback | |
usage() to pdisk.c and nuke do_help() and '-h'. ok jasper@ deraadt@ | |||
2016-01-12 | Remove media interation types, structures and functions. They are not used | Kenneth R Westerback | |
anywhere, as evidenced by everything still compiling after they are gone. | |||
2016-01-12 | Retire '-i', a poorly documented interactive mode that tries to | Kenneth R Westerback | |
mimic the 20th century MacOS version of pdisk more closely than the usual interactive editor. One set of commands is enough for anyone. ok jasper@ | |||
2016-01-12 | Since we use the disklabel size info we are always in 'device size | Kenneth R Westerback | |
mode' and '-c' and the '-d' command to toggle cflag are pointless since cflag is never examined. | |||
2016-01-11 | More '-v' leftovers (usage). | Kenneth R Westerback | |
2016-01-11 | Remove some '-v' leftovers. Pointed out by jasper@. | Kenneth R Westerback | |
2016-01-11 | Nuke now unused files. | Kenneth R Westerback | |
ok deraadt@ | |||
2016-01-11 | open_pathname_as_media() simply called open_file_as_media() which | Kenneth R Westerback | |
takes the same parameters and returns the same value. Nuke open_pathname_as_media() and call open_file_as_media() directly. Nothing else from pathname.[ch] is used so remove them from build in preparation for moving them to the attic. ok deraadt@ | |||
2016-01-11 | Nuke now unused files. | Kenneth R Westerback | |
ok deraadt@ jasper@ | |||
2016-01-11 | Remove '-v' and related version handling. Use strncasecmp() instead | Kenneth R Westerback | |
of handrolled local istrncmp(). No need to compile util.c anymore. ok deraadt@ jasper@ | |||
2016-01-11 | - remove some unused data structures/fields | Jasper Lievisse Adriaanse | |
- unifdef notdef ok krw@ | |||
2016-01-11 | plug a mem leak | Jasper Lievisse Adriaanse | |
ok krw@ | |||
2016-01-11 | typo fix; from julian hsiao | Jason McIntyre | |
2016-01-11 | more whitespace was lurking | Jasper Lievisse Adriaanse | |
2016-01-11 | trailing whitespace | Jasper Lievisse Adriaanse | |
2016-01-11 | add rcs ids | Jasper Lievisse Adriaanse | |
2016-01-10 | Use the normal method for determining a disk size. i.e. use the | Kenneth R Westerback | |
device's default disklabel. Don't spew i/o's at the disk to find the largest address that works, displaying many a 'read failed' message along the way. Problem noted by Brian Conway on bugs@ and jasper@. ok jasper@ | |||
2016-01-09 | Revamp the display of GPT information, hiding less important | Kenneth R Westerback | |
information under the '-v' flag. This brings the GPT display more into line with the MBR display and simplifies and hardens the parsing of the partition info in the install scripts. Original problem with install scripts parsing hand edited GPT information reported by Valere Monseur via bugs@. Man page fixes and tweaks from jmc@. Install script changes tested & ok rpe@. | |||
2016-01-08 | Zap extraneous SYNOPSIS sections. | Vadim Zhukov | |
The gettytab(5) and termcap(5) get FILES, others don't need anything. With input from & okay schwarze@ | |||
2016-01-08 | tweak; from julian hsiao | Jason McIntyre | |
2016-01-07 | sync displayed interface flags to reality | Mike Belopuhov | |
2016-01-06 | correct format string. ok deraadt stsp | Ted Unangst | |
2016-01-05 | remove long deprecated "set debug "none|urgent|misc|loud" levels in | Sebastian Benoit | |
pf.conf. Change this before upgrade or pf.conf won't load. florian@ henning@ phessler@ jung@ | |||
2016-01-03 | Remove obsolete and undocumented "-carpdev" option, from Fabian Raetz. | Martin Pieuchot | |
ok benno@, claudio@ | |||
2016-01-01 | rmeove unused noprint variable | Joerg Jung | |
from Fabian Raetz via tech@ ok krw | |||
2015-12-30 | Remove use of sysexits.h. OK guenther@ | Todd C. Miller | |
2015-12-30 | Revert r1.59's over-enthusiatic MBR zero'ing in MBR_init(). It was | Kenneth R Westerback | |
killing the macppc MSDOS partition created by '-i'. Should fix the macppc install problems reported by Brian Conway on bugs@. Date of breakage found by rpe@. | |||
2015-12-27 | Use 'standard' gpt_chk_mbr() to check for protective MBR. | Kenneth R Westerback | |
2015-12-24 | tweak auto-allocation description, with and ok jmc@ | Otto Moerbeek | |
2015-12-23 | Remove unnecessary SIGSYS/ENOSYS handling for getfh(2). | Tim van der Molen | |
Encouragement from deraadt@ | |||
2015-12-23 | Add privilege separation and pledge(). | Tim van der Molen | |
A privileged (that is, unpledged) child is forked that makes the "unpledgable" getfh(2) and mount(2) calls. It also takes care of writing /var/db/mountdtab so that the parent does not have to pledge "cpath wpath". This, then, allows the parent to pledge "stdio rpath inet dns". Suggestions and OK deraadt@ |