Commit Graph

3901 Commits

Author SHA1 Message Date
christos 5a9c754ab2 Make makedir code optional for all directories (fd and altq) are affected.
This is so that md code that tries to call makedev altq or fd does not fail
when the file exists. This was reported in port-powerpc, when building /dev.
2008-03-05 02:29:51 +00:00
tron 634457e76e Print out a message explaining why the system is rebooting if the root
filesystem is modified by fsck(8).
2008-03-02 21:31:30 +00:00
tron 5acd6cb052 Don't try to shutdown amd(8) gracefully. It seems to cause problems for
more people than the old (also broken) behavior. This fixes PR bin/36506
and PR bin/38103.
2008-02-25 22:12:42 +00:00
christos 3a24c02f26 cleanup fsck error handling:
1. explain what each error means
2. remove 130 (128 + 2) which was presumably there because fsck_msdos did
   not handle SIGINT properly
2008-02-24 01:05:35 +00:00
jmmv d82bccf48d Add directories for modules tests. 2008-02-10 12:41:06 +00:00
garbled 5219d864e2 Only build GENERIC and INSTALL 2008-02-05 19:03:38 +00:00
tron 5858f60bb7 Use official file from "ftp.internic.net". 2008-02-05 09:19:06 +00:00
spz 32d3eee2a4 AAAA at last! 2008-02-05 06:08:35 +00:00
jmmv 53f55c0659 Add the new directories required by atf 0.4. 2008-02-04 20:31:07 +00:00
tsutsui bd48677918 Build a RAMDISK kernel on "release" target. 2008-02-02 14:07:39 +00:00
reed f8fd203aa2 Add comment to point to manual page for details. 2008-01-31 15:21:32 +00:00
xtraeme 6efe384afc Remove references to check_uucp in daily.conf(5) and the defaults
file... uucp was removed a while ago.
2008-01-27 05:20:24 +00:00
garbled 9d727f97fa Default /dev/console to 9600, add new bridge mode kernel sets to build. 2008-01-23 23:18:50 +00:00
bouyer 61d4b35251 build XEN3PAE kernels as part of release. 2008-01-23 19:52:24 +00:00
lukem 35ec5a7f7a Set the permissions of /etc/openssl/private to 0700.
This makes sense and matches the behaviour of many other systems.
PR misc/18258.
2008-01-22 01:21:04 +00:00
christos 3e0495561a try to use programs from base (from anon ymous) sudo -> su 2008-01-17 00:37:46 +00:00
lukem 114e456e17 Ensure kdc starts after syslogd and ntpdate. 2008-01-16 23:58:26 +00:00
simonb d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
mrg a386f0e8b3 build an INSTALL kernel. it's just GENERIC with md(4) root space. 2008-01-02 11:32:15 +00:00
ad 2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
xtraeme b7d6181694 Fixup some comments. 2007-12-27 01:23:55 +00:00
xtraeme b9fa8c12a2 Add configuration properties for the Gigabyte P35C-DS3R, that uses
an IT8718F Super I/O.
2007-12-27 00:52:40 +00:00
jmmv c78fd9679d Register the directories for the puffs tests. 2007-12-26 20:51:26 +00:00
ad f4c9b5b65a Make SMP the default on i386. For the time being the noacpi kernel does
not have it enabled.
2007-12-25 01:03:31 +00:00
jmmv 98c2eca191 Register the /usr/tests/net/sys subtree. 2007-12-23 13:50:50 +00:00
jmcneill 1247e31569 Add example hotkey_button script 2007-12-22 19:04:10 +00:00
ad f28895c808 Remove GENERIC.MP config and enable SMP by default on amd64. 2007-12-20 23:32:24 +00:00
apb 3501e2d554 .include <bsd.own.mk> early, otherwise the .PATH doesn't always work.
Now "etcupdate -s /path/to/src" should no longer complain about being
unable to make atf-run.hooks.  build.sh passes NETBSDSRCDIR in the
environment, so it used to work even without this include.
2007-12-20 16:53:59 +00:00
apb 2912d6fb40 Comment out an example, which was accidentally uncommented in my previous
change to this file.  This is where the mystery /dev/foo came from.
2007-12-20 07:30:25 +00:00
riz ed16d9b321 Create drvctl as part of 'all'. 2007-12-17 04:29:50 +00:00
apb f90ed3540d s/07555/0755/ in permissions of /dev file system. Thanks to
Dieter Roelants for the report.
2007-12-16 16:09:27 +00:00
apb 802860abdb When MAKEDEV creates a memory file system, let it try mount_tmpfs(8)
before falling back to mount_mfs(8).  Also calculate required number
of inodes more accurately.

Discussed in tech-userlevel.
2007-12-15 21:33:13 +00:00
apb beae89cd6d In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.
2007-12-15 17:28:09 +00:00
apb 280f9669d3 * Move duplicated code into a check_pax function, and improve the test
for whether pax is likely to be usable.
* Don't try to create an mfs with fewer than 10 inodes.
* Add a missing exit in an error case.
2007-12-11 11:51:19 +00:00
apb c1da1584c4 Pass "-pe" flag to pax, otherwise the devices get created with
permissions modified by the umask.
2007-12-11 10:02:24 +00:00
nisimura f45e56dfd5 - more arrangement to have minimal devices for init) and ramdisk) cases.
- make sure to have four tty[00-03] and assign 115200bps for the first.
2007-12-11 05:05:16 +00:00
garbled f17dca7877 New MAKEDEV.conf for ofppc. Based on the unified powerpc majors file.
This can probably be simply copied to any port using the unified majors.
2007-12-10 18:17:48 +00:00
garbled 12d0909e08 Change to deal with the shared powerpc majors file, copied from the arm32
handling.
2007-12-10 17:57:24 +00:00
apb 6d3d3ebe02 * MAKEDEV's "-M -M" option was always intended for use only by init(8).
Improve the documentation around that.
* The "-p pax", "-m mknod", and "-s" (mtree specfile) options should
  always have been mutually exclusive.  Now enforce that.
* The "-f" option didn't ever work with pax or mtree mode; document that,
  and make it an error to try something that won't work.
* Make pax mode the default, if no other options prevent this, and if
  "pax -w -M" appears to be usable.
* Add missing options to a usage message.
2007-12-09 08:46:16 +00:00
apb 5e14203889 Update some comments and remove an unnecessary eval. No functional change. 2007-12-08 17:52:34 +00:00
apb 3bc3600ea3 Add a linecount shell function, and use it to count the lines in the
output from MAKEDEV.local.

Fixes PR 37498 from dlagner at rambler.ru, using an idea from David
Laight.  The while loop in the old code is executed in a subshell, so it
can't make persistent modifications to the parent shell's variables.
2007-12-08 17:31:12 +00:00
christos d2c255cb71 PR/29634: me: missing pam racoon file. 2007-12-07 20:30:31 +00:00
mjf d4a648c345 Implement a new magic string for magic symlinks, @ruid, which exapnds to the
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687

Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
ad 2fdfbee8ac -GENERIC_DIAGNOSTIC 2007-12-02 23:55:52 +00:00
pavel 990a4b27aa Source /etc/shrc only if it exists. Inspired by PR install/37209. 2007-11-24 11:14:41 +00:00
dholland d08cb6cf65 Handle non-trivial NIS compat entries (like +joe:::::::::) in the password
file. Fixes (my own) PR bin/33138.

reviewed: christos
2007-11-23 15:51:27 +00:00
bouyer 8fc0f9f54d Build amd64 xen kernels, and include them in the distrib. 2007-11-22 21:23:42 +00:00
bouyer 400aed76df Add Xen devices 2007-11-22 16:25:04 +00:00
jmmv 72ff826442 Add the debug directory for tests/util/id. Noted by drochner@. 2007-11-21 20:49:12 +00:00
njoly 8bb343aabb Add tests to the obsolete files list to be installed. 2007-11-21 16:23:29 +00:00