Commit Graph

3016 Commits

Author SHA1 Message Date
jdolecek
55faf5989f add mount_smbfs(8) 2003-02-18 20:35:28 +00:00
jdolecek
e0ef9a798d add 'noatime' to list of supported mount options
fixes PR bin/20411 by KOIE Hidetaka
2003-02-18 13:16:48 +00:00
perseant
b397c875ae Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.
2003-02-17 23:48:08 +00:00
perseant
6b857c229e Add ipf packet-filtering option to if_bridge. The option is controlled at
compile-time by BRIDGE_IPF, and at runtime by brconfig with the {ipf,-ipf}
option on a per-bridge basis.

As a side-effect, add PFIL_HOOKS processing to if_bridge.
2003-02-15 00:46:30 +00:00
grant
c39c2e62d5 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:21:47 +00:00
atatat
1784bd0a07 If no other name is specified, and machdep.booted_kernel is present
and names a file, use that as a the default kernel, otherwise fall
back to /netbsd.

Makes lkms work *much* better when you're testing kernels that are not
named /netbsd.
2003-02-09 23:29:32 +00:00
wiz
82ece76c41 Drop trailing space (in last). 2003-02-09 21:56:19 +00:00
perry
d259c39de5 Slightly clarify/improve the documentation for the -B (boot selector)
option
2003-02-09 20:46:29 +00:00
enami
166444b3a9 No need to print same error message twice in the same line. 2003-02-06 23:25:02 +00:00
enami
8d849f483a Check lseek error correctly (i.e., use == -1 rather than < 0). 2003-02-06 23:00:08 +00:00
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
enami
c27806c8fd Fix typo I've introduced while cleaning up for commit. 2003-02-04 08:43:16 +00:00
enami
3053f5ec9b - Fix daddr_t print format inside ifdef DIAGNOSTIC.
- Start scan cache entry just filled, rather than starting from top.
2003-02-04 08:24:20 +00:00
enami
c886a0529a Convert `nblksread' to in terms of device block size. This restores
originally intended behaviour (see tech-userlevel archive around 1999 March).
2003-02-04 08:11:50 +00:00
enami
799974edb6 Cosmetic changes. 2003-02-04 08:06:42 +00:00
hannken
c089bab65b Merge "struct cheader" and "struct cdesc" into an union.
No more alignment problems if the alignment of these two differs.

Approved by: Manuel Bouyer <bouyer@netbsd.org>
2003-02-03 23:08:37 +00:00
kleink
71d7654509 Add sysconf(3) knobs for recent additions. 2003-02-02 20:33:05 +00:00
kleink
b971350427 Add several missing items, and be less rageous about memory locking. 2003-02-01 00:42:03 +00:00
thomas
5d2b072ae0 Define Atari keyboard type. 2003-01-31 23:32:21 +00:00
mrg
cf9ff87a3a make this build on alpha after daddr_t->64bit 2003-01-28 05:17:12 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
hubertf
8221d7ffdd Mention that the mount point for a remote swap file must exist as a directory.
Sanity checked by salo.
2003-01-24 19:48:52 +00:00
dsl
2ac00e9169 display machdep.diskinfo for i386 and x86_84
(agreed by christos)
2003-01-22 17:12:41 +00:00
atatat
dd0a8acd21 The next release will be 2.0, not 1.7. 2003-01-19 21:25:36 +00:00
tsutsui
b33c28a7f5 libutil (which was added for MNT_GETARGS) is no longer needed. 2003-01-19 12:37:41 +00:00
jdolecek
f9e0089642 fix typo on mount_ext2fs line 2003-01-19 10:52:25 +00:00
jdolecek
4a97217e59 do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic
2003-01-19 10:49:11 +00:00
kleink
b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
jmmv
dd4a382f46 Print missing newline in two bootselector-related messages. Approved by wiz. 2003-01-10 23:37:34 +00:00
wiz
1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz
821c09da13 Bump date for revert. Use proper mdoc in some places. Avoid \fI and \fP.
Begin new sentences on new lines.
2003-01-06 11:37:19 +00:00
seb
d7b1a9a6a6 Introduce a new feature for reverting multiple boot configurations i.e.
effectively making the currently selected configuration the only one
active and removing boot configuration selection menu.
This is accomplished by running 'newbtconf revert'.

From PR bin/17808 by myself. Thanks to gendalia and lukem for the help finding
the right keyword.

Approved by lukem.
2003-01-06 00:31:49 +00:00
seb
7c96b4b4d4 Newbtconf is supposed to handle directories as well, like /etc/rc.conf.d,
hence fix directory handling.
From PR bin/17807 by myself. Approved by lukem.
2003-01-05 23:32:54 +00:00
kristerw
84b199e7d9 Correct length of a memcpy.
From Alan Barrett in PR 18620.
2003-01-05 22:28:41 +00:00
wiz
617b132aac Spell output with two ts. 2003-01-04 23:43:02 +00:00
wiz
2208fe9813 Sort sections. 2003-01-02 10:32:01 +00:00
jschauma
b49ef594e9 Fix tyops pointed out by Igor Sobrado in PR misc/19623:
mount_filecore(8) - frquently (frequently), upto (up to)
mount_nfs(8)      - NFSV3 (NFSv3), automaticly (automatically)
mount_ntfs(8)     - particularily (particularly), fisk (disk)
2003-01-01 21:22:50 +00:00
manu
41bfbd28fe On Darwin, mach_init is the system bootstrap process. It is responsible
for forking the traditional UNIX init(8) and it does the Mach port naming
service. We need mach_init for the naming service, but unfortunately, it
will only act as such if its PID is 1. We introduce a sysctl
(emul.darwin.init_pid) to fool a given process into thinking its PID is 1.
That way we can get mach_init into behaving as the name server.

Typical use:
/sbin/sysctl -w emul.darwin.init_pid=$$ ; exec /emul/darwin/sbin/mach_init
2002-12-24 12:15:45 +00:00
wiz
cbd9802b91 Remove traces of old names (verifiedexec_load and /dev/verifiedexec). 2002-12-21 23:41:44 +00:00
wiz
a054d0cce5 Add a BUGS section describing that async mounts are currently disabled,
and explaining the reason. From Julio Merino.
2002-12-21 20:33:35 +00:00
wiz
393a2f3aac dependent only has es, no as; from Adrian Mrva. 2002-12-21 12:50:54 +00:00
wiz
b230951fd3 system with two ss, from Adrian Mrva. 2002-12-21 12:45:32 +00:00
wiz
5dd379b9d6 address has two ds, not three; from Adrian Mrva. 2002-12-21 12:43:07 +00:00
wiz
a8abcee79e developed with one o only, from Adrian Mrva. 2002-12-21 12:41:58 +00:00
wiz
5fc05bb384 removable with only two es, from Adrian Mrva. 2002-12-21 12:27:14 +00:00
wiz
4afa55e863 Drop trailing whitespace. 2002-12-19 14:49:03 +00:00
lukem
b57d4fa862 It's ipppctl not ipppcontrol ...
Also add synopsis for ipppctl.
2002-12-19 11:57:32 +00:00
wiz
cb647c5704 Sort sections, new sentences begin on new lines, add a missing line,
fix a typo.
2002-12-18 19:20:05 +00:00
wiz
65bd87df00 Remove mention of update, per Kevin P. Neal in PR 19386. 2002-12-16 10:32:16 +00:00
scw
6054b38a2b Use getlabeloffset() instead of LABELOFFSET. 2002-12-12 11:40:17 +00:00