wiz
69f3168bc0
Sort SEE ALSO.
2009-05-18 12:29:31 +00:00
wiz
a8df896a15
Sort option descriptions.
2009-05-18 12:17:54 +00:00
mjf
3d68316951
Add an exmaple of unmounting all file systems apart from NFS and MFS
...
e.g,
umount -a -t nonfs,mfs
This makes it clear that the "no prefix" only needs to be on the first
file-system argument to -t. The mount(8) man page has a clear example
of this but for some reason umount(8) was missing one.
2009-05-17 14:09:15 +00:00
wiz
ed8d5fd9a5
Sort option descriptions.
2009-05-13 22:49:48 +00:00
lukem
2a89584323
Note that FFSv1 is also known as FFS, UFS, or UFS1.
...
Note that FFSv2 is also known as UFS2.
Add a reference to Kirk's BSDcon03 paper on UFS2.
2009-05-10 13:28:00 +00:00
wiz
3932d28101
New sentence, new line.
2009-05-07 08:27:14 +00:00
lukem
87a1d67eda
Consistently use FFSv1 or FFSv2
2009-05-07 06:56:56 +00:00
lukem
51d7a18bc6
Use "FFSv2" instead of "UFS2".
...
Expand the description of -c.
Xref dumpfs.
2009-05-07 06:54:23 +00:00
wiz
148a07685e
Fix typo in Dd argument.
2009-05-04 20:11:30 +00:00
mhitch
0428b65ea1
fix sign-compare issues in vax-specific code.
2009-05-04 18:09:04 +00:00
yamt
f0ea152bc0
disable automatic mountd reloading for now because it makes the service
...
temporary unavailable. PR/41331 from FUKAUMI Naoki.
2009-05-04 11:41:48 +00:00
dyoung
46db29bcf1
Bring getifaddrs(3) behavior in line with the documentation: the
...
ifa_data member of every AF_LINK struct ifaddrs points at the
corresponding struct if_data. In ifconfig(8), do not try to suppress
duplicate AF_LINK ifaddrs by checking for a NULL ifa_data.
Don't copy out two AF_LINK struct ifaddrs for each active link-layer
address. getifaddrs(3) used to copy out one ifaddrs for the kernel's
RTM_IFINFO message, and one more for the kernel's RTM_NEWADDR message.
I suppress the first duplicate with a highly conservative change that
wastes a little bit of ifaddrs storage. The storage is not leaked.
2009-04-27 20:10:49 +00:00
lukem
10a1256f76
set WARNS=3 -- too many -Wsign-compare issues in the kernel ffs code
2009-04-26 05:57:48 +00:00
dyoung
740c7b59d2
To make sure that we always print the active link-layer address in the
...
'address: ' field, don't treat the first address as the active address,
but search the link-layer addresses for the ones flagged IFLR_ACTIVE,
and print those. Extract a subroutine, print_link_addresses(), for
printing link-layer addresses.
2009-04-21 22:46:39 +00:00
dyoung
ce947d8aa0
Cosmetic: add some whitespace for my ease of reading.
2009-04-21 22:13:10 +00:00
dyoung
5785e48164
There's no use casting a socket address to sockaddr_dl, only to cast it
...
back to sockaddr, so don't do it.
2009-04-21 21:57:14 +00:00
dyoung
5cd12bc44e
Use getnameinfo(3) to render a human-readable link-layer address in the
...
'address: ' line, just as we do in the 'link xx:xx:...:xx' line.
2009-04-21 21:42:35 +00:00
dyoung
4590553b36
Fix indentation: change spaces to tabs.
2009-04-21 18:00:25 +00:00
wiz
456c3f9203
Document -n.
2009-04-20 22:07:23 +00:00
wiz
5be7e30eb5
Add -n to usage. Now it just needs to be documented.
2009-04-20 22:05:47 +00:00
wiz
67000f2b2f
Bump date for previous. Remove trailing whitespace.
2009-04-20 22:04:57 +00:00
dyoung
dfd60e8c7b
Mention -n in usage.
2009-04-20 21:41:50 +00:00
dyoung
0f6df043c6
Add flag -n to suppress the first column of drvctl -l output.
2009-04-20 21:40:42 +00:00
drochner
dff56c2587
also fix a comment wrt use of the csysid/cstart/csize vars
2009-04-20 17:06:55 +00:00
drochner
0fa7059102
define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160
2009-04-20 16:05:29 +00:00
sborrill
45a4197562
When using -s flag, read start and size as unsigned to allow for larger
...
disks. (Thanks to drochner@ for catching it).
2009-04-20 15:03:56 +00:00
wiz
86340eaa2b
Remove outdated example. From Todd Kover in PR 41238.
2009-04-18 14:55:50 +00:00
joerg
f707732bc3
Speling.
2009-04-15 23:03:34 +00:00
joerg
84a8422ae3
As noted by apb, don't slip in local pathes.
2009-04-15 22:44:26 +00:00
joerg
3f61ca34e1
Behave as documented and remove the dot call at the end.
...
Add RCS ID.
2009-04-15 22:38:26 +00:00
joerg
49451a8f9f
Add a small script to visualize the rc dependency graph and point to it.
2009-04-15 22:36:04 +00:00
apb
a194a42669
If MAKEDEV exits non-zero, but was nevertheless able to create
...
/dev/console, then have init(8) just print a warning instead of
exiting.
2009-04-12 09:31:32 +00:00
lukem
ef685eeea9
Enable WARNS=4 by default except for:
...
dump dump_lfs fsck_ffs fsck_lfs fsdb mount_smbfs
newfs_ext2fs newfs_lfs resize_lfs setkey
2009-04-11 07:58:11 +00:00
lukem
6f957c8d46
fix sign-compare issue
2009-04-11 07:55:35 +00:00
lukem
002fe60580
fix sign-compare issues
2009-04-11 07:40:37 +00:00
lukem
ccc69cfd56
fix sign-compare issue
2009-04-11 07:37:50 +00:00
lukem
8e2fe69844
fix sign-compare issues
2009-04-11 07:31:21 +00:00
lukem
6978bdec0e
fix sign-compare issues
2009-04-11 07:20:09 +00:00
lukem
9e6bf7d7cc
fix sign-compare issue
2009-04-11 07:16:30 +00:00
lukem
a2b5923e3e
fix sign-compare issues
2009-04-11 06:59:18 +00:00
lukem
cefb0777de
fix sign-compare issues
2009-04-11 06:48:36 +00:00
wiz
2357e9b449
Sync usage with man page; remove 0xa0 character from usage.
2009-04-10 13:48:00 +00:00
wiz
c7c3dd81bc
Sort option descriptions.
2009-04-10 13:47:31 +00:00
pooka
93636c41f9
Support creating a file system to a regular file.
2009-04-09 10:37:55 +00:00
joerg
f2aa054fbc
Remove physical markup. Remove incorrect keep, .Bk is not callable, but
...
used as such. It doesn't seem to serve any purpose at the point either.
2009-04-08 14:32:05 +00:00
joerg
c7348fe221
Remove physical markup.
2009-04-08 14:21:55 +00:00
joerg
32a51b5de6
Fix markup.
2009-04-08 13:13:42 +00:00
joerg
f558fc74ff
Fix string literals.
2009-04-08 13:12:20 +00:00
lukem
292ab8c29d
fix sign-compare issues
2009-04-07 12:38:12 +00:00
lukem
5a3a163d1d
fix sign-compare issue
2009-04-07 12:25:19 +00:00
mrg
5c9ab7f6c0
fix a logic error in the previous, as point out by frank kardel.
2009-04-07 05:50:11 +00:00
lukem
5bd52bbac4
fix sign-compare issues
2009-04-06 12:50:36 +00:00
lukem
d4ab6626c0
fix sign-compare issue
2009-04-06 12:47:20 +00:00
lukem
5f508bdac7
redo previous to fix amd64 build
2009-04-06 12:38:35 +00:00
lukem
73a6ad29bd
fix sign-compare issue
2009-04-06 12:36:27 +00:00
lukem
48680f64b2
fix sign-compare issues
2009-04-06 12:35:20 +00:00
lukem
3a92921379
fix sign-compare issue
2009-04-06 12:33:11 +00:00
lukem
fb63fbd0cc
fix sign-compare issues
2009-04-06 12:32:30 +00:00
lukem
2a936e3086
fix sign-compare issue
2009-04-06 12:27:01 +00:00
lukem
e6cb0042e9
remove mispelt WARNS. (it will be set in ../Makefile.inc "soon")
2009-04-06 12:19:16 +00:00
lukem
428fc016ff
fix sign-compare issues
2009-04-06 12:18:19 +00:00
lukem
7b61bfdc7c
fix sign-compare issues
2009-04-05 12:06:33 +00:00
joerg
9d6b98ae28
If drvctl -l is used without argument, print the root device nodes.
2009-04-04 22:05:47 +00:00
plunky
bb505f700b
Because the IFF_NOARP flag is a negative option it needs to be negated
...
when being applied from the "arp" option which itself is positive.
problem demonstrated by
# ifconfig tap3 create
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 arp
# ifconfig tap3
tap3: flags=8882<BROADCAST,NOARP,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 -arp
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 destroy
#
2009-04-04 17:10:19 +00:00
pooka
54f76d2fa4
Issue a better error message if attempting to create a file system
...
on a block device. Inspired by PR kern/41127.
2009-04-03 13:22:05 +00:00
pooka
3b219697ed
Fix bug I introduced in rev 1.64: don't use stack space after
...
return. pointed out by yamt.
2009-04-03 07:26:07 +00:00
christos
e048bed6b3
Don't print an error with sysctl -w name?=value if name does not exist.
...
Should be pulled up to 5.0
2009-04-01 15:55:27 +00:00
christos
2037025cb5
PR/41111: Ed Ravin: ping -R gives misleading error when remote side doesn't
...
support record route
Deal with source route and record route specially giving a meaningful error
message.
Pullup to 5.0?
2009-03-31 19:51:11 +00:00
he
cfbede5668
Add a cast to intmax_t and use %jd to print an off_t.
...
Fixes at least the alpha and amd64 builds.
2009-03-28 21:34:33 +00:00
pooka
4ff44dd1fe
remove troublesome printf specifier
2009-03-28 15:17:16 +00:00
reed
b7b9ab25b1
Point to ifmedia(4) more. And refer to -m flag to (for media).
2009-03-27 19:33:22 +00:00
wiz
61ae4edccb
New sentence, new line.
2009-03-26 09:56:17 +00:00
pooka
32852ecef0
Apply revisions 1.23 and 1.24 from FreeBSD to autocalculate the
...
necessary geometry when creating a file system directly to a file.
In addition, when creating, do not complain about the file not
being char special and do not try to execute device ioctl's on it.
2009-03-26 08:39:24 +00:00
mrg
1c6ecba9bc
don't ignore "fsck -f" when given with "-p" on a wapbl filesystem.
...
ie, "fsck -fp" actually forces the check in preen mode now.
2009-03-25 03:42:41 +00:00
tls
ede5dc65a8
Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm
...
default). Fixes misc/38425.
2009-03-21 19:32:44 +00:00
lukem
deb4c0bbb3
fix sign-compare issues
2009-03-20 13:18:50 +00:00
wiz
479c390e0e
Drop trailing whitespace.
2009-03-18 10:46:58 +00:00
pgoyette
dab2b670bf
Format the address/offset of hexdump in hex, not decimal.
...
Addresses my PR bin/41035
2009-03-18 01:28:25 +00:00
lukem
be0c43535f
fix sign-compare issues
2009-03-17 00:52:47 +00:00
lukem
07f7688506
fix sign-compare issues
2009-03-16 12:56:19 +00:00
lukem
c1237301b3
fix sign-compare issues
2009-03-16 12:52:07 +00:00
lukem
240bf6cd28
fix sign-compare issues
2009-03-16 11:18:10 +00:00
christos
9f97ab946c
Allow ptyfs to be mounted inside a chrooted environment.
2009-03-15 16:47:45 +00:00
joerg
d7eb1430e2
Fix markup.
2009-03-15 10:01:47 +00:00
dyoung
5786b3376f
Fix spelling: s/parition/partition/.
2009-03-12 22:59:03 +00:00
joerg
e4e7c43459
Don't workaround ancient macro argument limit with .Xo/.Xc.
2009-03-11 18:02:00 +00:00
joerg
0e5f0af7e9
Fix preamble
2009-03-11 13:35:21 +00:00
joerg
997634fe14
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
2009-03-09 19:24:26 +00:00
ad
101a9782a2
Add crash(8), a utility to diagnose kernel crashes. This is basically
...
ddb running on crash dumps, but with two notable changes:
- Breakpoints, watches, etc are obviously never going to work so they
are not handled.
- You can pipe output to the shell, e.g. ps | grep foo
Items remaining to be done:
- Port it to architectures other than i386. This isn't difficult, just
a case of making db_disasm.c/db_trace.c or their equivalent compile
and work.
- Make more of the "show" commands work, e.g "show uvmexp".
2009-03-07 22:08:07 +00:00
njoly
e4bf6d925f
Add missing free() in machdep_diskinfo().
2009-03-05 15:35:59 +00:00
tsutsui
f592533590
- add a sanity check for e2fs_inode_size in readsb()
...
- use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or
struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets
2009-03-02 11:31:59 +00:00
tsutsui
14c85750c6
Use inodesize to get offset of inode in one more place.
2009-03-02 10:57:03 +00:00
tsutsui
48c2d0ee71
Fix botched logic in inodesize check.
2009-03-02 10:38:13 +00:00
tsutsui
1b5cd43c66
Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro.
2009-03-02 10:16:49 +00:00
tsutsui
8676336f2d
- accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0
...
- use inodesize to get offset of inode, not struct ext2fs_dinode array
2009-03-02 10:15:59 +00:00
wiz
dcc33b5c39
Sort options in usage.
2009-03-01 21:54:31 +00:00
wiz
9ea4262fa9
New sentence, new line.
2009-03-01 21:52:59 +00:00
wiz
5d45b7ee8a
Sort options.
2009-03-01 21:52:37 +00:00
christos
29055c6385
Support variable inode sizes.
2009-03-01 19:21:09 +00:00
joerg
e443a4cf79
Make function bodies static, the prototype already is.
2009-02-25 23:59:30 +00:00
christos
7b2f022cd6
don't copy the address of a pointer. Noticed by Anon Ymous
2009-02-25 13:52:18 +00:00
pooka
54db37b1cf
Note change with linux compat.
2009-02-24 12:45:37 +00:00
pooka
3f2d5fc9ad
Default to -o linux. This prevents programs from not working just
...
because the -o linux flag was not supplied, i.e. it is the sensible
default. People who absolutely do not want the extra files in
their /proc for whatever aesthetic reason (it's not like they
consume any resources) can do -o nolinux.
2009-02-23 19:47:58 +00:00
wiz
5eb2ad1b22
Fix typo, and restore line that was lost in previous.
2009-02-23 08:14:53 +00:00
dholland
481da53c30
Restore newfs_lfs after softdep removal (hi ad)
2009-02-22 23:06:23 +00:00
ad
59fcf21389
PR kern/26878 FFSv2 + softdep = livelock (no free ram)
...
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep
Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
2009-02-22 20:28:05 +00:00
yamt
dacc2a910d
remove a useless cast.
2009-02-22 15:28:43 +00:00
yamt
a85598544d
nfsdefargs: use designated initializers
2009-02-20 15:37:22 +00:00
yamt
bbac3fbde4
remove a useless cast.
2009-02-18 13:13:27 +00:00
christos
5dae591c0c
Use the wedge size, not the disk size, from Yorick Hardy
2009-02-17 00:16:35 +00:00
is
272429c084
This ain't whitespace98.
2009-02-16 13:38:21 +00:00
abs
740916b73c
put back edlabel on sun2 (m68000)
2009-02-16 12:30:58 +00:00
dholland
cfacc31dc0
fix typo: "aprox." -> "approx." (approximate).
2009-02-15 08:23:31 +00:00
abs
515e52158b
Convert more MACHINE tests to MACHINE_ARCH
2009-02-14 13:50:50 +00:00
abs
2cb54095fc
Build and install edlabel based on MACHINE_ARCH not MACHINE
2009-02-14 11:33:56 +00:00
uebayasi
a6533b8fed
Comment out CFLAGS+=-g.
2009-02-13 16:02:05 +00:00
lukem
bd0ca7dff7
WARNS=4
2009-02-13 01:37:35 +00:00
lukem
9abbf3c336
fix -Wsign-compare issues
2009-02-13 01:37:23 +00:00
wiz
5452aa5f5c
Bump date for previous. New sentence, new line.
2009-02-08 21:56:57 +00:00
reinoud
9a5eca17f4
Add mount_udf(8) option '-c' requesting session closure on unmount and
...
document it in the manpage.
2009-02-08 19:28:49 +00:00
uebayasi
cede8f9855
Let 'gpt add' suggest a collect device name so that opendisk(3) called by
...
dkctl(8) succeeds.
2009-02-07 18:12:22 +00:00
uebayasi
0edd7181ba
Make manual and usage consistent. No functional changes.
2009-02-07 17:21:44 +00:00
uebayasi
b9691b268f
- Display cache, strategy, and list of wedges if no command is specified in
...
the command line.
- Sort list of wedges.
Posted on tech-userlevel a while ago, no objections then.
2009-02-07 17:13:32 +00:00
enami
ca82f7eac5
Use indent-synopsis instead of iS register. The latter is a register
...
used in BSD derived .Nm implementation.
2009-01-30 11:55:04 +00:00
tron
0c5d87d569
Use correct format to print the "numBlocks" element in a RAIDframe
...
component label. raidctl(8) should now print the correct number of
blocks for RAID sets larger than 1TB.
Patch supplied by Bernhard Moellemann in PR bin/40479.
2009-01-26 11:34:12 +00:00
wiz
f8ab4d2651
New sentence, new line.
2009-01-24 10:45:44 +00:00
jmcneill
537c688f5b
Note that empty filesystems are now treated as if they support long
...
filenames by default.
2009-01-23 12:48:49 +00:00
apb
756ffbbce0
* Say that type "nfs" is inferred if the path contains a
...
":" or "@". (Amazingly, this was not documented before).
* Say that the "nfs" inference is deprecated. (It was deprecated in
revision 1.87 of mount.c, dated 2009-01-11.)
* Add "-t nfs" in an example, so as not to rely on the automatic
inference of nfs when the path contains a colon.
* Try to improve the description of how the arguments are interpreted.
2009-01-20 09:07:04 +00:00
apb
44f43cf298
Remove local definitions of PRIxxxx macros in favour of the
...
centralised definitions from tools/compat/compat_defs.h, which
are included via nbtool_config.h.
2009-01-18 21:15:14 +00:00
mrg
5be383f77e
Do not erroneously leave a truncated 16-bit sector
...
count on "large" (>=32MB) file systems when fetching the geometry from
the medium. This confuses some software (which is to say Windows)
when a device newfs(8)ed under NetBSD is transported to another
system. (Note: The rest of the code uses 'bsec', and DTRT for smaller
file systems.)
contributed anonymously.
2009-01-18 10:50:56 +00:00
lukem
c6144e484f
fix -Wsign-compare issues
2009-01-18 00:24:29 +00:00
lukem
0fdc53711f
Use KiB MiB GiB instead of Kb Mb Gb
2009-01-18 00:21:09 +00:00
lukem
1881cc846a
* Fix -Wsign-compare issues.
...
* Add some XXXs noting where we might want to check for 16bit overflow.
* Use uintNN_t instead of int if the values is read from or written to
using udf_rwNN().
2009-01-18 00:18:41 +00:00
he
41daabb7fc
Ensure that all the files in SRCS are *.c files (there were some
...
files matching *.o (!) in the list). Thanks to cube@ for spotting
what I could not see. Should fix issue with UPDATE builds across
the recent time_t merge and associated shared lib major bumps.
2009-01-14 20:38:53 +00:00
tsutsui
08e5f5529c
Add workaround typedefs for awful hack.
...
XXX: It's completely unacceptable for me to refer libsa files from userland.
XXX: Nowadays we no longer have serious size restriction in install media,
XXX: so I think it's much better to simply remove this ugly SMALLPROG hacks.
XXX: If you really want to share files, please move them into src/common
XXX: with defined APIs.
2009-01-13 11:47:32 +00:00
wiz
2fd0883c1e
New sentence, new line.
2009-01-11 21:57:14 +00:00
pooka
694167d28f
Support mount -o rump, which uses the rump server instead of using
...
the kernel service. E.g. "mount -t efs -o rump /dev/sgidev /mnt"
runs effectively "rump_efs /dev/sgidev /mnt".
2009-01-11 20:39:34 +00:00
pooka
86cc06cf64
-o resport, not -o resvport
2009-01-11 20:22:41 +00:00
pooka
547a80b5eb
Fix noresport mount option parsing.
2009-01-11 20:22:11 +00:00
pooka
4d0f7c6fcd
Warn that autoselecting nfs based on : or @ in the device path will
...
be removed in a future release.
2009-01-11 12:33:50 +00:00
pooka
b38b40842d
EFS -> SGI EFS in NAME
2009-01-05 16:36:04 +00:00
apb
cf9d39220a
Add a list of device types for use with "rndctl -t ${typename}".
2009-01-04 12:01:43 +00:00
christos
84f0d7015a
when using getargs, don't set read-only otherwise it fails with EINVAL.
2009-01-03 23:09:41 +00:00
christos
5bd66079eb
document nocasetrans.
2009-01-03 22:56:23 +00:00
christos
2e3fa27094
reset args. Add casetrans
2009-01-03 20:11:04 +00:00
mlelstv
bb90b5f0cd
cast arguments for changed printf format
2008-12-29 20:02:30 +00:00
christos
ac3b5d9cdf
fix dev_t format.
2008-12-29 16:03:57 +00:00
christos
ac43585b6e
fix printf formats.
2008-12-28 20:23:53 +00:00
christos
118c87a6fe
fix dev_t format.
2008-12-28 20:17:11 +00:00
christos
b935e079cd
fix printf formats.
2008-12-28 20:15:21 +00:00