Age | Commit message (Collapse) | Author |
|
* bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment
variable, set its value as ${kernel-command-line} for boot scripts.
|
|
* bootstrap.c (main): Define $(serverboot) function for "serverboot
controls", control command replacing the pathname. For command "die",
terminate ourselves after running the boot script, no default pager.
|
|
* bootstrap.c (main): Remove vars HAD_A_PARITION, DOING_DEFAULT_PAGER.
Remove $(default-pager) boot script tag. We always stick around and
act as the default pager (this was already the case, just removed some
dead code). Don't print anything about having no swap partitions,
since that is a fine way to boot (just use swapon later).
|
|
* bootstrap.c (main: scrript_paging_file): Pass LINUX_SIGNATURE arg
through to add_paging_file.
|
|
* def_pager_setup.c (add_paging_file): New arg CHECK_LINUX_SIGNATURE,
pass down to create_paging_partition.
* default_pager.c (create_paging_partition): New arg
CHECK_LINUX_SIGNATURE, pass down new_partition.
(new_partition): New arg CHECK_LINUX_SIGNATURE: if not < 0,
check first page of swap for Linux 2.0 or 2.2 signature page and obey
its bad-block map; if > 0, refuse the partition if no signature found.
* bootstrap.c (main): Add new boot script functions
`add-raw-paging-file', `add-linux-paging-file'. Make those
and `add-paging-file' all call add_paging_file with new
LINUX_SIGNATURE arg of -1, 1, and 0, respectively.
* default_pager.c (create_paging_partition): If new_partition returns
null, return and do nothing more.
|
|
* bootstrap.c (parse_script): Free BUF before returning. Reported
by Katusya Tanaka (wyvern@pb3.so-net.ne.jp).
|
|
Use strchr instead of index.
(main):
Rearrange default pager initialization. Change "(bootstrap)" to
"(serverboot)" in msgs.
Include <string.h>
|
|
Don't exit if no paging partition.
|
|
Make sure a newline exists before removing it.
Ensure that the cursor moves to the beginning of the next line.
(main):
Don't call translate_root.
Pass more than a single character to safe_gets.
(DEFAULT_ROOT):
New macro.
Don't include "translate_root.h".
|
|
* bootstrap.c (main/script_paging_file): Instead of returning an
error use new variable `had_a_partition' to record whether we
successfully opened a partition.
(main/script_default_pager): Only start pager if HAD_A_PARTITION;
otherwise print warning message.
Mon Jun 16 11:52:40 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile (installationdir): Use `=' to set this instead of :=;
$(prefix) is not yet available and `=' postpones the evaluation
properly. Reported by Marcus G. Daniels,
marcus@cathcart.sysc.pdx.edu.
|
|
* disk_inode.h (struct icommon): Use short instead of uid_t/gid_t
in structure definition; those are now 32 bit types.
* bootstrap.c (main): Support running from command line too; this
is useful at least for simple debugging.
|
|
* bootstrap.c (cthread_stack_size): Don't set special value here;
use the default.
|
|
|