Commit Graph

5086 Commits

Author SHA1 Message Date
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