Commit Graph

86235 Commits

Author SHA1 Message Date
atatat
149865a4d7 Remove the perl script from the mount_portal example for cvs and
replace it with a regular sh script.
2001-10-12 16:15:26 +00:00
haya
727e8d4a04 Bugfix: re-order double buffer only when second buffer exists. 2001-10-12 09:27:23 +00:00
enami
de085459c1 Fix printf format. 2001-10-12 07:30:23 +00:00
lukem
9ecbd30d67 add /var/named/* 2001-10-12 07:29:36 +00:00
lukem
1f0b1f323c s,/var/named,/var/chroot/named, 2001-10-12 07:27:33 +00:00
lukem
96a1608ee4 Major overhaul, with help from Andrew Brown <atatat@netbsd.org>.
Features:
- Add a bunch of stuff to /etc/mtree/special to enable removal of
  /etc/changelist:
	- files which we want to monitor for changes but don't want to
	  see the diffs of (master.passwd, ssh_host_key, ...) are
	  tagged with "nomail"
	- files which we don't want to monitor are tagged with "exclude"
	  (such as netgroup.db, kvm.db, ...)
	- monitor /etc/mtree/special.local, /root/.ssh/*
	- remove /etc/changelist, and a bunch of XXX comments
	- use mtree(8)'s -D, -I, and -E to generate lists of files to
	  actually do the changelist stuff on.
	- support /etc/mtree/special.local as an optional user-provided
	  version of /etc/mtree/special (effectively, an enhanced
	  /etc/changelist)
- Add code to monitor: /etc/ifconfig.* /etc/raid*.conf /etc/rc.conf.d/*
  including support for these files being added and removed at will.
- If /sbin/fdisk exists, backup the output of "fdisk $disk" for all
  the active disk drives as part of $check_disklabels
- Check permissions on: ~/.ssh/* ~/.shosts

Details:
- Reorder initialisation of defaults
- Remove special case for /etc/master.passwd "monitor but don't email diffs"
  with general case for other similar files.
- Keep all `autogenerated' files (such as disklabel.*, setuid.current, ...)
  in "$backup_dir/work", to minimise name clashes.
- Add migrate_file(old, new) to do the hard work of migrating files
  from the old `top level' /var/backups mechanism to the `full path'
  mechanism recently added. Use this appropriately.
- Add backup_and_diff(file, printdiffs), to the hard work of backing-up
  and diff-ing files.
- Cleanup use of shell redirects
- /bin/sh supports ~root globbing, so use it.
- Improve umask checking; use awk regex rather than awk math
2001-10-12 05:18:23 +00:00
atatat
38aae27853 Add new mount_portal cvs examples 2001-10-11 20:25:12 +00:00
atatat
9305145646 Add another example that shows how to map a cvs server into your local
file system so that you can pull random files out of it easily.
2001-10-11 18:41:11 +00:00
kristerw
031a62292d Run the entries in __CTOR_LIST__ and __DTOR_LIST__ in the order gcc expect. 2001-10-11 18:02:28 +00:00
christos
bebeebd8aa if -a is not given, we need to walk the filesystem list to check the
flags in order to get the correct count (from enami)
2001-10-11 16:31:33 +00:00
christos
bfe76ac87a Allow userland to pass MNT_IGNORE (from enami) 2001-10-11 16:27:24 +00:00
pooka
3518dc8ed0 * fix thinko in mace_print() to prevent intr with value MACECF_INTR_DEFAULT
from getting printed
* fetch device name from dv_xname instead of using hardcoded value
2001-10-11 15:17:42 +00:00
tsutsui
9ed721dc0a hp300 now uses dev/clock_subr.c. 2001-10-11 15:04:44 +00:00
tsutsui
0c3fd1cf03 Cleanup TOD clock functions:
- Adapt MI functions/structures in sys/dev/clock_subr.[ch]
 - Fix year-2001 problem

XXX Maybe TOD clock should be attached as an independent device.
2001-10-11 15:02:07 +00:00
tron
eea6d83f4b Regen. 2001-10-11 14:31:58 +00:00
tron
fa5ea802e9 Add host bridge of the SiS 735 chipset. 2001-10-11 14:30:21 +00:00
tsutsui
2853ff9bb9 space -> TAB 2001-10-11 14:01:36 +00:00
augustss
9ba9477c1a Regen. 2001-10-11 12:05:39 +00:00
augustss
9ec0bc09c1 Add Epson 1650. 2001-10-11 12:05:10 +00:00
enami
802d6b10df KNF. 2001-10-11 09:23:31 +00:00
lukem
01c63bc35a - add "ntpd" user (homedir: /var/chroot/ntpd) and "ntpd" group, for use by
future work to support a chroot(8)ed ntpd
- move /var/named -> /var/chroot/named for consistency with ntpd
2001-10-11 07:21:07 +00:00
lukem
f28a27bd16 if named_chrootdir is set, always repoint the /var/run/named.pid and
/var/run/ndc symlinks, because named_chrootdir might change between
restarts and the symlinks weren't getting updated correctly in the old code.
2001-10-11 07:10:08 +00:00
leo
13a1055e2f Second pass of the bootloader reworking. Everything works from the
TOS/MiNT side now.
2001-10-11 07:07:41 +00:00
lukem
c3e7e8005a oops, got chflags() error checking around the wrong way 2001-10-11 04:27:30 +00:00
briggs
155a79e9a1 Add include dev/wsfont/files.wsfont 2001-10-11 04:14:45 +00:00
mason
8d31b83457 More elegant method of previous change. Thanks to James Chacon for pointing
out my think-o.
2001-10-11 03:56:43 +00:00
briggs
0ac571b1e5 include dev/wsfont/files.wsfont 2001-10-11 03:52:13 +00:00
mason
058f064635 It appears to be the case that ${COMPILEETOBJ}/compile_et, which is used in
the USETOOLS=no and !defined(USETOOLS) cases, is not guaranteed to exist.
However, the current functionality overrides any potentially correct
hand-set definition of COMPILE_ET, causing build breakage.

Now the line setting COMPILE_ET only happens if COMPILE_ET is not already
set, like so:

.if !defined(COMPILE_ET)
COMPILE_ET=     ${COMPILEETOBJ}/compile_et
.endif
2001-10-11 03:39:02 +00:00
lukem
c32ec6cb78 - Implement "-M log", which appends the metadata associated with the
installed file or directory to `log'. This is primarily designed
  to be used in conjunction with -U, but that's not mandatory.
  Provide metadata_log() to do the hard work. The log file is opened
  for append at the start, and flock(LOCK_EX) is used to prevent
  interleaved output (from multiple concurrent install(8) operations).
- Improve parsing of owner and groups (e.g., strtoul() instead of atoi()),
  and don't rely upon uid==-1 to indicate "no owner"; use a flag instead.
- Make fileflags a global variable; uid, gid, and mode are, so lets be
  consistent...
- Improve -U (unpriv); work on file flags as well, and only try to change
  the file flags after the temporary file is renamed (since certain flags
  will prevent the rename from working).
2001-10-11 02:06:32 +00:00
jwise
5afee0c76e Do not descend into `tools' on make clean{dir,} if USETOOLS=no, as doing
so without TOOLDIR set will blow up.
2001-10-10 17:20:15 +00:00
christos
4c947455fc add magic.mime.mgc 2001-10-10 16:57:44 +00:00
christos
9220b490d0 Install magic.mime.mgc too. 2001-10-10 16:56:27 +00:00
yamt
01f308933f - use IP_MAXPACKET instead of 65535.
- change max packet size from 65468 to 65467(= IP_MAXPACKET-60-8).
2001-10-10 15:58:04 +00:00
leo
d6d66d6664 Check-point my work on the bootcode. 2001-10-10 14:19:49 +00:00
pooka
e45292cb5e panic in cpu_initclocks() if clock device is not attached 2001-10-10 13:24:47 +00:00
mrg
711d4aecaa enable aout lkm on sparc & i386 2001-10-10 12:48:49 +00:00
mrg
41d514fe9a framework to build an EXEC_AOUT module. tested on sparc64. 2001-10-10 12:10:10 +00:00
hubertf
99e2cfa498 fix typo (shaed) 2001-10-10 10:40:54 +00:00
ad
08632b145a Back out previous - it causes panics. 2001-10-10 09:33:36 +00:00
chs
d15ad88d82 skip "distribution" step if DISTRIBUTION_DONE is set. 2001-10-10 06:58:56 +00:00
chs
eaa7f39f23 in ufs_balloc_range(), if we extend a fragment and need to write the
fragment synchronously, update the vnode's size before doing the flush.
otherwise we might only write part of the data and cause softdep's
accounting to get out of sync.  fixes PR 14201.
many thanks to enami for figuring out what was going on.
2001-10-10 06:37:53 +00:00
enami
652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
mjacob
c0018ebdfe The flow control registers are 16 bits wide, not 32. 2001-10-10 03:41:24 +00:00
augustss
a969ff5460 Add a reference counter to avoid blowing away the softc while frobbing
the MII registers.
2001-10-10 02:14:16 +00:00
yamt
d549add37f - fix overrun bug.
- bump bufsize to fix "packet loss" with large packet.
2001-10-09 19:17:02 +00:00
christos
d8c9b346a4 Enable verbose debugging messages via tftpd. 2001-10-09 18:46:18 +00:00
tsutsui
59e6364fcd Include <machine/bootinfo.h> 2001-10-09 16:03:11 +00:00
christos
768eab98b9 update for libedit. 2001-10-09 13:52:38 +00:00
christos
545f12e0c5 PR/14188: Anthony Mallet: Provide an opaque data pointer to client programs. 2001-10-09 13:50:29 +00:00
yamt
76e9d7eb12 fix lsrr. 2001-10-09 12:43:37 +00:00