summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Bring in support for volume labels to the filesystem utilities.gordon2003-02-017-10/+63
| | | | Reviewed by: mckusick
* Build sunlabel on sparc64.jake2003-01-311-0/+4
|
* Add sunlabel, a more or less drop in replacement for bsd^H^H^Hdisklabel(8)jake2003-01-312-0/+585
| | | | | which works on sun labels. Due to the lack of an interface other than write(2) to update labels, it cannot modify an open partition.
* Additional PC98 option is not needed.nyan2003-01-301-3/+0
|
* Back out conversion to libufs, for now. It seems to cause problems.jmallett2003-01-294-42/+111
| | | | Reported by: phk
* Call fill() after maxpayload has been initialized.mdodd2003-01-291-3/+6
| | | | Reviewed by: maxim
* Send ICMP_MASKREQ packets when the '-M' option is specified.mdodd2003-01-282-10/+31
|
* Fix problems with how libufs was used, with regard to mounted/active fs's,jmallett2003-01-281-32/+16
| | | | | in the new world order of libufs, where we also do statfs, and add a missing close.
* Update mount_nfs documentation to reference new sysctl for -c default.dillon2003-01-271-2/+6
|
* Don't use the kern.disks sysctl to find a list of md devices, use thephk2003-01-271-41/+7
| | | | | | MDIOCLIST ioctl instead. Spotted by: keramida
* Convert newfs to use libufs. I've tested this on md filesystems, as hasjmallett2003-01-274-111/+42
| | | | keramida, and all seems well.
* If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctlsphk2003-01-262-0/+12
| | | | | | to fiddle the disk we can get away with it. Try to use DIOCBSDBB to write boot code.
* IA64 still needs to be able to run on MBR+BSD combination, so put disklabelphk2003-01-263-0/+3
| | | | | | back. Pointed out by: peter
* Drop the silly notion that i386 has two bootstrap files now that sys/bootphk2003-01-264-326/+70
| | | | | | | | creates a single file named just "boot". Apart from the fact that the option "-s" is now gone and that "-b" should be pointed at /boot/boot instead of /boot/boot1, this patch should be a no-op.
* Remove #if checks for NUMBOOT==0, it's not relevant for any architecturephk2003-01-262-60/+0
| | | | | and if we get such an architecture, we can just avoid using the relevant options.
* Offer better advice in #error.phk2003-01-262-10/+6
| | | | Remove yet a usage message about -N/-W
* Spell libufs correctly in DPADD.ru2003-01-262-2/+2
| | | | Reviewed by: juli
* Remove ia64 and powerpc #ifdefs: this is i386/pc98/alpha only code.phk2003-01-262-6/+6
|
* Make disklabel(8) MD for i386/pc98 and alpha only.phk2003-01-261-1/+5
|
* Remove #ifdef __sparc64__ code. GEOM uses native SUN labels on this arch,phk2003-01-262-118/+4
| | | | so no hacks are needed.
* Fix typo in last commit.phk2003-01-262-168/+174
| | | | Rearrange bits in writelabel() a bit for improved readability.
* Remember to remove -N and -W from usage.phk2003-01-262-4/+0
|
* Don't fiddle write-protect status of disklabel, it's a discontinued feature.phk2003-01-262-16/+0
|
* Retire the "-N" and "-W" options which implemented write-protectionphk2003-01-264-98/+6
| | | | | | | | | | | | | | | | | | | for the disklabel: This facility is OBE. First of all, we cannot sensibly implement this in a properly stacked environment. Second, if we did, it would confuse the heck out of users who wouldn't be able to "start from scratch" by dd(8)'ing /dev/zero onto /dev/da0. Third, the offered protection is not comprehensive: no other software would respect it. Fourth and finally, the disklabel is already protected against tampering if it controls open partitions. Uselessness of these options discussed with: peter
* Change the -x option so that it does an actual REAL test ofsilby2003-01-261-11/+35
| | | | | | the correctness of this program. Previously, it printed out the MD5 values of some test strings, but did not tell you if they were correct or not!
* Convert references to other manpages to .Xr and addkeramida2003-01-261-4/+7
| | | | entries to the SEE ALSO section.
* Readjust the cache initialization code to make it more obvious that thedillon2003-01-251-12/+7
| | | | cache is bypassed when disabled.
* Since route(8) itself is no longer setuid, we can get a meaningfulkbyanc2003-01-251-1/+1
| | | | | | | | answer for the euid. As a result, fix it such that setuid scripts or programs may call route(8) to do work on their behalf. Reviewed by: ru MFC after: 3 days
* Parse both old flags location and new one. Print out new flags includingnjl2003-01-241-14/+24
| | | | acls, multilabel, and location updated.
* Add missing #if USE_IF_MEDIA/#endif.mdodd2003-01-231-1/+4
|
* Better error handling for -s.maxim2003-01-232-11/+15
| | | | | | | | | | | | | | Submitted by: bde Do not constantify maximum payload size. It is 65467 with -R (record route), and 65507 without it. Reviewed by: silence on -net Proposed by: bde I am going to MFC rev.1.77 - 1.81 ping.c and rev.1.39 and 1.40 ping.8: MFC after: 6 months
* style(9) sweep.maxim2003-01-231-37/+30
| | | | Submitted by: bde
* Anti-magic: s/255/MAXTTL/maxim2003-01-231-2/+2
|
* Implement -D (do not fragment) and -z (TOS) options.maxim2003-01-232-8/+63
| | | | | | PR: bin/29164 Reviewed by: silence of -net Obtained from: OpenBSD
* Print strict source routing option.maxim2003-01-231-1/+3
| | | | | Reviewed by: silence on -net Proposed by: David Wang <dsw@juniper.net>
* Fixed Charles' e-mail here too.ru2003-01-232-3/+3
|
* Added UFS library to the bsd.libnames.mk namespace.ru2003-01-231-1/+1
|
* Fix what I think is an off-by-one in certain worst-case scenariospeter2003-01-221-1/+1
| | | | caused by rev 1.45. (eg: the estimate being exactly half of the result.)
* fix link_status() in non-Ethernet casefjoe2003-01-221-4/+6
| | | | MFC after: 1 week
* Convert badsect to use libufs.jmallett2003-01-202-58/+18
|
* Add libufs to dependencies.jmallett2003-01-201-1/+2
|
* Make tunefs use libufs, it seems to do well enough for printing / settingjmallett2003-01-202-108/+15
| | | | things.
* Kill initialisation and shadow warnings. Half-hearted cleanup (e.g. only thejmallett2003-01-191-20/+21
| | | | | | | more important ones) of format warnings. XXX Lots of this assumes int32 can be printed with %d. Yuck. Reviewed by: bde
* Add support to marshal a filesystem to a newfs(8) command that could be usedjmallett2003-01-192-18/+94
| | | | | | to create it. A small number of options are not marshalled as they are things it would be dumb to spit out, as they are used by internal computations, and newfs may change them, or they may not be directly apparent.
* Let libufs handle all the work with regard to going through a list of cgs, now.jmallett2003-01-191-8/+7
|
* Use libufs to read one cylinder group from the disk at a time.jmallett2003-01-191-7/+2
|
* Simplify the main function now that libufs will hunt for the disk for us.jmallett2003-01-191-13/+7
|
* Fix two errorchecks to check for negative error returns.phk2003-01-181-2/+2
|
* Consistentify output whitespace.jmallett2003-01-181-1/+1
|
* Simplify conditional.jmallett2003-01-181-6/+4
|
OpenPOWER on IntegriCloud