peter
685d2ff0d7
Show the paritition types that we recognize in human readable format. eg:
...
pluto2# gpt show da0
start end size contents
0 0 1 PMBR
1 1 1 Pri GPT header
2 33 32 Pri GPT table
34 401595 401562 GPT part - EFI System partition
401596 925883 524288 GPT part - FreeBSD ufs partition
925884 9314491 8388608 GPT part - FreeBSD swap partition
...
It'll print a plain uuid string for unrecognized types.
2003-02-13 01:00:26 +00:00
nyan
889618ffd2
MFi386: Use DIOCGPC98 ioctl.
2003-02-11 07:32:45 +00:00
jmallett
0f7ddd6268
Convert newfs to libufs (really). Solves one real issue with previous
...
version of such. Differences in filesystems generated were found to be
from 1) sbwrite with the "all" parameter 2) removal of writecache. The
sbwrite call was made to perform as the original version, and otherwise
this was checked against a version of newfs with the write cache removed.
2003-02-11 03:06:45 +00:00
ache
68e4eee3d3
Use srandomdev() for FreeBSD
2003-02-11 02:31:53 +00:00
phk
0d87d64253
Rename bio_linkage to the more obvious bio_parent.
...
Add bio_t0 timestamp, and include <sys/time.h> where needed
2003-02-07 21:09:51 +00:00
charnier
c142aa48bd
Use a more standard error message. Add FBSDID.
...
Reviewed by: ru
2003-02-05 20:08:39 +00:00
charnier
7018edab0b
The .Xr utility
2003-02-05 13:50:41 +00:00
brueffer
cbd85a777d
Correct examples for stateful inspection
...
PR: 47817
Submitted by: Simon L.Nielsen <simon@nitro.dk>
Reviewed by: ceri, luigi
2003-02-04 01:33:25 +00:00
gordon
f340c1ac9e
Bring in support for volume labels to the filesystem utilities.
...
Reviewed by: mckusick
2003-02-01 04:17:10 +00:00
jake
028347699c
Build sunlabel on sparc64.
2003-01-31 07:40:25 +00:00
jake
7e4761fc23
Add sunlabel, a more or less drop in replacement for bsd^H^H^Hdisklabel(8)
...
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.
2003-01-31 07:03:25 +00:00
nyan
aca5ef0c28
Additional PC98 option is not needed.
2003-01-30 15:09:21 +00:00
jmallett
dfe5702c03
Back out conversion to libufs, for now. It seems to cause problems.
...
Reported by: phk
2003-01-29 22:52:27 +00:00
mdodd
718bb6c717
Call fill() after maxpayload has been initialized.
...
Reviewed by: maxim
2003-01-29 20:42:42 +00:00
mdodd
b159341ed9
Send ICMP_MASKREQ packets when the '-M' option is specified.
2003-01-28 22:53:24 +00:00
jmallett
502261f07f
Fix problems with how libufs was used, with regard to mounted/active fs's,
...
in the new world order of libufs, where we also do statfs, and add a missing
close.
2003-01-28 02:42:01 +00:00
dillon
7995bad207
Update mount_nfs documentation to reference new sysctl for -c default.
2003-01-27 20:12:32 +00:00
phk
e5f71e4b1b
Don't use the kern.disks sysctl to find a list of md devices, use the
...
MDIOCLIST ioctl instead.
Spotted by: keramida
2003-01-27 08:01:08 +00:00
jmallett
273be50650
Convert newfs to use libufs. I've tested this on md filesystems, as has
...
keramida, and all seems well.
2003-01-27 07:24:32 +00:00
phk
a27e16309d
If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctls
...
to fiddle the disk we can get away with it.
Try to use DIOCBSDBB to write boot code.
2003-01-26 21:55:43 +00:00
phk
8825e48f4a
IA64 still needs to be able to run on MBR+BSD combination, so put disklabel
...
back.
Pointed out by: peter
2003-01-26 18:33:54 +00:00
phk
4865a58cd6
Drop the silly notion that i386 has two bootstrap files now that sys/boot
...
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.
2003-01-26 14:35:53 +00:00
phk
f67e3529e3
Remove #if checks for NUMBOOT==0, it's not relevant for any architecture
...
and if we get such an architecture, we can just avoid using the relevant
options.
2003-01-26 13:50:11 +00:00
phk
807fc7de0e
Offer better advice in #error.
...
Remove yet a usage message about -N/-W
2003-01-26 12:39:46 +00:00
ru
7c6bc18961
Spell libufs correctly in DPADD.
...
Reviewed by: juli
2003-01-26 12:34:36 +00:00
phk
ad2fa30e32
Remove ia64 and powerpc #ifdefs: this is i386/pc98/alpha only code.
2003-01-26 12:22:26 +00:00
phk
82826b71d1
Make disklabel(8) MD for i386/pc98 and alpha only.
2003-01-26 12:19:36 +00:00
phk
f3345c20fa
Remove #ifdef __sparc64__ code. GEOM uses native SUN labels on this arch,
...
so no hacks are needed.
2003-01-26 11:43:50 +00:00
phk
977978310d
Fix typo in last commit.
...
Rearrange bits in writelabel() a bit for improved readability.
2003-01-26 11:41:37 +00:00
phk
722d5435d7
Remember to remove -N and -W from usage.
2003-01-26 11:28:34 +00:00
phk
5ee78ecce5
Don't fiddle write-protect status of disklabel, it's a discontinued feature.
2003-01-26 11:16:25 +00:00
phk
dc7edb5afb
Retire the "-N" and "-W" options which implemented write-protection
...
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
2003-01-26 11:11:19 +00:00
silby
2a088a1417
Change the -x option so that it does an actual REAL test of
...
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!
2003-01-26 08:23:37 +00:00
keramida
89f001d710
Convert references to other manpages to .Xr and add
...
entries to the SEE ALSO section.
2003-01-26 02:52:07 +00:00
dillon
401c720261
Readjust the cache initialization code to make it more obvious that the
...
cache is bypassed when disabled.
2003-01-25 19:06:30 +00:00
kbyanc
c9f898d44f
Since route(8) itself is no longer setuid, we can get a meaningful
...
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
2003-01-25 01:28:11 +00:00
njl
7d4d4fab25
Parse both old flags location and new one. Print out new flags including
...
acls, multilabel, and location updated.
2003-01-24 00:07:40 +00:00
mdodd
111dab8175
Add missing #if USE_IF_MEDIA/#endif.
2003-01-23 18:31:56 +00:00
maxim
14d7bf5dd2
Better error handling for -s.
...
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
2003-01-23 13:04:42 +00:00
maxim
08b55cf1d9
style(9) sweep.
...
Submitted by: bde
2003-01-23 12:56:10 +00:00
maxim
118f887acc
Anti-magic: s/255/MAXTTL/
2003-01-23 12:54:11 +00:00
maxim
805247f240
Implement -D (do not fragment) and -z (TOS) options.
...
PR: bin/29164
Reviewed by: silence of -net
Obtained from: OpenBSD
2003-01-23 12:48:12 +00:00
maxim
e83d9a9d7b
Print strict source routing option.
...
Reviewed by: silence on -net
Proposed by: David Wang <dsw@juniper.net>
2003-01-23 12:42:56 +00:00
ru
b0520b835c
Fixed Charles' e-mail here too.
2003-01-23 08:35:21 +00:00
ru
1488b3638f
Added UFS library to the bsd.libnames.mk namespace.
2003-01-23 08:15:05 +00:00
peter
568a1c8f96
Fix what I think is an off-by-one in certain worst-case scenarios
...
caused by rev 1.45. (eg: the estimate being exactly half of the result.)
2003-01-22 00:34:22 +00:00
fjoe
aecb199acf
fix link_status() in non-Ethernet case
...
MFC after: 1 week
2003-01-22 00:14:34 +00:00
jmallett
017693e11f
Convert badsect to use libufs.
2003-01-20 21:24:34 +00:00
jmallett
d18b7f355c
Add libufs to dependencies.
2003-01-20 21:18:44 +00:00
jmallett
8e245d6a16
Make tunefs use libufs, it seems to do well enough for printing / setting
...
things.
2003-01-20 21:15:02 +00:00