aboutsummaryrefslogtreecommitdiff
path: root/serverboot
Commit message (Collapse)AuthorAgeFilesLines
...
* 1999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-161-19/+0
| | | | * strfcns.c (index): Function removed.
* .Roland McGrath1999-11-161-0/+6
|
* 1999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-163-32/+9
| | | | | | * ffs_file_io.c (ffs_open_file): Use memmove instead of ovbcopy. * ext2_file_io.c (ext2_open_file): Likewise. * strfcns.c (ovbcopy): Function removed.
* .Roland McGrath1999-11-081-0/+5
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-12/+35
| | | | | * bootstrap.c (main): Further spruce up prompting and error reporting for root device and boot script.
* .Roland McGrath1999-10-281-0/+5
|
* 1999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-282-11/+2
| | | | | | | * load.c, bootstrap.c: Back out some debugging printfs accidentally included in the last commit. * bootstrap.c (main): Increase size of NEW_ROOT buffer. This change was included in the last commit, but not logged then.
* .Roland McGrath1999-10-281-1/+12
|
* 1999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-285-27/+67
| | | | | | | | | | | * file_io.h: Include <errno.h>. (FS_* macros): Define these to equivalent errno codes. * def_pager_setup.c (add_paging_file): Put strerror of result code in error messages. * bootstrap.c (parse_script): Likewise. * load.c (boot_script_exec_cmd): Include NAMEBUF in error messages, and use strerror to format result code. * panic.c (panic): Use program_invocation_name in message.
* 1999-10-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-10-082-4/+5
| | | | | | | * bootstrap.c: (DEFAULT_ROOT): Remove macro. (main): If no root device was specified, then prompt as if the user had specified -a. Don't use strcpy to move NEW_ROOT into ROOT_NAME; that's unsafe.
* 1999-10-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-10-082-10/+9
| | | | | | * bootstrap.c: (DEFAULT_ROOT): Remove macro. (main): If no root device was specified, then prompt as if the user had specified -a.
* .Roland McGrath1999-10-061-0/+4
|
* 1999-10-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-061-1/+1
| | | | * bootstrap.c (DEFAULT_ROOT): Change to "hd0s1".
* .Roland McGrath1999-08-221-0/+5
|
* 1999-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-08-201-3/+2
| | | | | * bootstrap.c (parse_script): Add one to the buffer size so we can null-terminate after the end of the file.
* .Roland McGrath1999-07-201-0/+7
|
* 1999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-204-383/+128
| | | | | | | | | * ext2_file_io.c, ffs_file_io.c, minix_file_io.c: Remove fs-specific routines *_page_{read,write}_file_direct. Moved to ... * file_io.c (page_read_file_direct, page_write_file_direct): Don't call fs-specific routine, these are not fs-specific. Instead, replaced with former fs-specific routines (which were all identical). Read and write more than a fs block when disk blocks are contiguous.
* .Roland McGrath1999-07-201-0/+5
|
* 1999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-201-3/+19
| | | | | * default_pager.c (new_partition): When reading Linux signature page, handle pager_read_file_direct returning sub-page blocks.
* .Roland McGrath1999-06-031-0/+5
|
* 1999-06-03 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-06-031-1/+2
| | | | | * default_pager.c (new_partition): Declare `waste' as `int' instead of `unsigned int'.
* .Roland McGrath1999-06-021-0/+8
|
* 1999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-021-0/+9
| | | | | * bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment variable, set its value as ${kernel-command-line} for boot scripts.
* 1999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-021-8/+21
| | | | | * load.c (boot_script_exec_cmd): Copy environment from our `environ' onto the new task's stack along with its arguments.
* .Roland McGrath1999-05-301-0/+6
|
* 1999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-301-0/+20
| | | | | | * 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.
* .Roland McGrath1999-05-231-0/+5
|
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-1/+1
| | | | | * default_pager.c (new_partition): Fix arg order in printf for linux-2.2 signature page.
* .Roland McGrath1999-05-201-0/+15
|
* 1999-05-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-201-27/+70
| | | | * default_pager.c (new_partition): Fix SWAP-SPACE page handling.
* .Roland McGrath1999-05-151-0/+3
|
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-1/+19
| | | | | * default_pager.c (new_partition): Check if requested partition is already in our list, and refuse it.
* .Roland McGrath1999-05-151-3/+14
|
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-3/+9
| | | | | * default_pager.c (new_partition): Print out partition name and size when no signature.
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-21/+0
| | | | | | | | * 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).
* 1998-09-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>Thomas Bushnell1999-04-305-4/+522
| | | | | | | | | | | | | | | | | | | * bunzip2.c: New file. * load.c (GZIP) (BZIP2): New cpp constants. (boot_script_exec_cmd): If GZIP is defined, gunzip engine is enabled. If BZIP2 is defined, bunzip2 engine is enabled. * Makefile (SRCS): Add bunzip2.c. (UNZIP_OBJS): Add do-bunzip2.o. (CPPFLAGS): Add -DGZIP, -DBZIP2 and -DSMALL_BZIP2. 1998-09-03 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * gunzip.c: New file. Copy libstore/gunzip.c and modify for use in serverboot. * load.c (struct stuff): Add members, image_addr and image_size. (mem_read) (mem_read_exec): New functions. (boot_script_exec_cmd): Add gzexe feature. * Makefile: Add unzip stuffs.
* .Roland McGrath1999-03-061-0/+10
|
* 1999-03-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-061-0/+2
| | | | * def_pager_setup.c (default_pager_setup): #if 0 out unused function.
* 1999-03-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-061-1/+2
| | | | | * bootstrap.c (main: scrript_paging_file): Pass LINUX_SIGNATURE arg through to add_paging_file.
* 1999-03-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-061-1/+1
| | | | | * default_pager.c (default_pager_paging_file): Pass 0 for new LINUX_SIGNATURE arg to add_paging_file.
* .Roland McGrath1999-02-271-0/+16
|
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-273-14/+172
| | | | | | | | | | | | | | | | * 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.
* .Roland McGrath1998-07-251-9/+13
|
* 1998-07-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-251-11/+11
| | | | | * default_pager.c (pager_read_offset): Cast NO_BLOCK twice, to real return type of this function.
* Tue May 12 12:11:36 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-05-122-0/+6
| | | | | * bootstrap.c (parse_script): Free BUF before returning. Reported by Katusya Tanaka (wyvern@pb3.so-net.ne.jp).
* .Miles Bader1997-07-151-0/+10
|
* (safe_gets):Miles Bader1997-07-151-16/+18
| | | | | | | | Use strchr instead of index. (main): Rearrange default pager initialization. Change "(bootstrap)" to "(serverboot)" in msgs. Include <string.h>
* (boot_script_exec_cmd):Miles Bader1997-07-151-3/+3
| | | | Change "(bootstrap)" to "(serverboot)" in msgs.
* .Miles Bader1997-07-091-0/+4
|
* (main):Miles Bader1997-07-091-0/+2
| | | | Don't exit if no paging partition.