aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2001-08-25 Roland McGrath <roland@frob.com>Roland McGrath2001-08-261-4/+24
| | | | | * configure.in: Add a check for Parted's libraries. (PARTED_LIBS): New variable, substitute it.
* 2001-08-25 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-08-262-4/+21
| | | | | | | * part.c: New file. * std.c (store_std_classes): Add store_part_class. * store.h (store_part_create): New prototype. (store_part_open): Likewise.
* 2001-08-25 Roland McGrath <roland@frob.com>Roland McGrath2001-08-261-0/+194
| | | | | | | | | | * part.c (store_part_create): Do a run-time check on ped_get_version. 2001-08-25 Neal H Walfield <neal@cs.uml.edu> * part.c: New file. * std.c (store_std_classes): Add store_part_class. * store.h (store_part_create): New prototype. (store_part_open): Likewise.
* .Roland McGrath2001-08-251-0/+8
|
* 2001-08-25 Roland McGrath <roland@frob.com>Roland McGrath2001-08-251-3/+3
| | | | | | | * Makefile (parted.o, parted_pic.o): Pass -nostdlib. 2001-08-25 Neal H Walfield <neal@cs.uml.edu> * Makefile (libstore.so-LDFLAGS): Renamed from LDFLAGS-libstore.so.
* .Roland McGrath2001-08-252-0/+18
|
* 2001-08-24 Roland McGrath <roland@frob.com>Roland McGrath2001-08-251-2/+27
| | | | | | | * Makefile (SRCS): Add part.c here. (OBJS): Mutate part.o -> parted.o here. (parted.o, parted_p.o, parted_pic.o): New targets. (LDFLAGS-libstore.so): Set to $(PARTED_LIBS).
* 2001-08-24 Roland McGrath <roland@frob.com>Roland McGrath2001-08-251-0/+3
| | | | * config.make.in (PARTED_LIBS): New variable, substituted by configure.
* 2001-08-24 Roland McGrath <roland@frob.com>Roland McGrath2001-08-251-2/+2
| | | | | * Makeconf ($(libname).so.$(hurd-version)): Replace $($@-LDFLAGS) with $($(libname).so-LDFLAGS).
* .Roland McGrath2001-08-241-0/+4
|
* 2001-08-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-241-46/+5
| | | | * lockfile.c: Rewritten to use macros now defined by libc.
* .Roland McGrath2001-08-241-0/+8
|
* 2001-08-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-241-1/+12
| | | | | | | | * boot.c (kernel_command_line): New variable. (options): Add --kernel-command-line/-K. (parse_opt): Parse it, set kernel_command_line. (main): If unset, default it to "argv[0] bootstrap_args bootdevice". Set ${kernel-command-line} boot script variable to kernel_command_line.
* .Roland McGrath2001-08-241-0/+4
|
* 2001-08-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-241-2/+4
| | | | * init.c (main): Pass ARGP_NO_ERRS|ARGP_IN_ORDER to argp_parse.
* .Roland McGrath2001-08-241-0/+6
|
* 2001-08-22 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-08-241-1/+2
| | | | | | * opts-std-startup.c (startup_options): New compatibility option: bootflags, a hidden alias to multiboot-command-line. (parse_startup_opt): Bug fix.
* prune dead itemRoland McGrath2001-08-211-4/+0
|
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-203-343/+9
| | | | | | | | | | | * init.c [! SPLIT_INIT]: All this code removed. [SPLIT_INIT]: This code no longer conditional. (_PATH_RUNCOM, mapped_time, do_fastboot): Removed. * Makefile (split-init): Variable removed. (SRCS): Add stubs.c here unconditionally. [$(split-init) = no]: Conditional defns removed. (LCLHDRS): Variable removed. * ttys.c, ttys.h: Files removed.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-202-523/+22
| | | | | | | | | | | * init.c [! SPLIT_INIT]: All this code removed. [SPLIT_INIT]: This code no longer conditional. (_PATH_RUNCOM, mapped_time, do_fastboot): Removed. * Makefile (split-init): Variable removed. (SRCS): Add stubs.c here unconditionally. [$(split-init) = no]: Conditional defns removed. (LCLHDRS): Variable removed. * ttys.c, ttys.h: Files removed.
* .Roland McGrath2001-08-204-0/+50
|
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-201-2/+2
| | | | * hurd.boot: Change --bootflags to --multiboot-command-line.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-201-8/+2
| | | | | * runsystem.sh: Don't check for MULTIBOOT_CMDLINE environment variable. Instead, expect it as normal arguments from init.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-201-28/+31
| | | | | | | | | * init.c (kernel_command_line): Variable removed. (options, parse_opt): Remove -K option. (frob_kernel_process): Collect arguments from &global_argv[1] instead of slicing up kernel_command_line. (start_child): Take a second arg, if non-null more arguments for PROG. (launch_something): Change caller. On first try, pass &global_argv[1].
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-203-6/+5
| | | | | | | | | | | | | | | * opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line. (OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS. (startup_options): --bootflags -> --multiboot-command-line (parse_startup_opt): Parse it. * diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line. (diskfs_boot_filesystem): New macro. * init-main.c (diskfs_init_main): Use it. * init-init.c (diskfs_init_diskfs): Likewise. * console.c (diskfs_console_stdio): Likewise. * boot-start.c (_diskfs_boot_privports): Likewise. (diskfs_start_bootstrap): Split boot_command_line into words and pass those arguments to init instead of diskfs_bootflags.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-202-48/+29
| | | | | | | | | | | | | | | | | | | | | | | | | * opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line. (OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS. (startup_options): --bootflags -> --multiboot-command-line (parse_startup_opt): Parse it. * diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line. (diskfs_boot_filesystem): New macro. * init-main.c (diskfs_init_main): Use it. * init-init.c (diskfs_init_diskfs): Likewise. * console.c (diskfs_console_stdio): Likewise. * boot-start.c (_diskfs_boot_privports): Likewise. (diskfs_start_bootstrap): Split boot_command_line into words and pass those arguments to init instead of diskfs_bootflags. * diskfs.h: Declare it. * boot-start.c (diskfs_start_bootstrap, start_execserver): Use it. * boot-start.c (diskfs_boot_init_program): New variable. * diskfs.h: Declare it. * boot-start.c (default_init): Variable removed. (diskfs_start_bootstrap): Use diskfs_boot_init_program instead of default_init or prompting under -i. * opts-std-startup.c (OPT_BOOT_INIT_PROGRAM): New macro. (startup_options): Add --boot-init-program. (parse_startup_opt): Parse it.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-201-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line. (OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS. (startup_options): --bootflags -> --multiboot-command-line (parse_startup_opt): Parse it. * diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line. (diskfs_boot_filesystem): New macro. * init-main.c (diskfs_init_main): Use it. * init-init.c (diskfs_init_diskfs): Likewise. * console.c (diskfs_console_stdio): Likewise. * boot-start.c (_diskfs_boot_privports): Likewise. (diskfs_start_bootstrap): Split boot_command_line into words and pass those arguments to init instead of diskfs_bootflags. * opts-std-startup.c (_diskfs_boot_pause): New variable. (OPT_BOOT_PAUSE): New macro. (startup_options): Add --boot-debug-pause. (parse_startup_opt): Parse it. * boot-start.c (diskfs_boot_init_program): New variable. * diskfs.h: Declare it. * boot-start.c (default_init): Variable removed. (diskfs_start_bootstrap): Use diskfs_boot_init_program instead of default_init or prompting under -i. * opts-std-startup.c (OPT_BOOT_INIT_PROGRAM): New macro. (startup_options): Add --boot-init-program. (parse_startup_opt): Parse it.
* 2001-08-17 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-08-172-0/+14
| | | | * changelog: Update to current version.
* .Roland McGrath2001-08-171-0/+7
|
* 2001-08-17 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-08-171-1/+7
| | | | | | * userland-boot.c (boot_script_task_create): Suspend the newly created task as the protocol requires. (boot_script_insert_right): Fix the error message.
* .Roland McGrath2001-08-171-0/+10
|
* 2001-08-17 Roland McGrath <roland@frob.com>Roland McGrath2001-08-173-11/+31
| | | | | | | | | | | | * userland-boot.c (boot_script_insert_right): Take new result parameter for send right name in target task. (boot_script_insert_task_port): New function. * boot_script.h: Update those two decls. (VAL_TASK): New macro. * boot_script.c (VAL_SYM, VAL_FUNC): Increase these constants. (builtin_symbols): Use VAL_TASK for "task-create". (boot_script_exec): Update caller of boot_script_insert_right. Treat VAL_TASK like VAL_PORT, but call boot_script_insert_task_port.
* .Roland McGrath2001-08-171-0/+5
|
* 2001-08-17 Roland McGrath <roland@frob.com>Roland McGrath2001-08-172-3/+2
| | | | | * boot_script.h: size_t -> unsigned int * boot_script.c: Don't #include <string.h>.
* .Roland McGrath2001-08-171-0/+11
|
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-3/+7
| | | | | | | | | | | * userland-boot.c (boot_script_insert_right): New function. * boot_script.h: Declare it. * boot_script.c (boot_script_exec): Use that instead of mach_port_insert_right. * boot_script.h: Protect from multiple inclusion. (safe_gets): Remove decl. * boot_script.h (boot_script_exec_cmd): Change TASK arg type to task_t. * userland-boot.c: Likewise.
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-15/+5
| | | | | | | * userland-boot.c (boot_script_insert_right): New function. * boot_script.h: Declare it. * boot_script.c (boot_script_exec): Use that instead of mach_port_insert_right.
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-0/+13
| | | | | | | | | * userland-boot.c (boot_script_insert_right): New function. * boot_script.h: Declare it. * boot_script.c (boot_script_exec): Use that instead of mach_port_insert_right. * boot_script.h (boot_script_exec_cmd): Change TASK arg type to task_t. * userland-boot.c: Likewise.
* .Roland McGrath2001-08-172-0/+37
|
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-173-6/+11
| | | | | | | * Makefile (OBJS): Add userland-boot.o here. Add a vpath to find userland-boot.c in boot/ too. * bootstrap.c (parse_script): Pass new arg to boot_script_parse_line. * load.c: Include <stddef.h> before "boot_script.h".
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-14/+3
| | | | | | | | | | | | | | | | | | * boot_script.h (boot_script_malloc, boot_script_free): Declare new functions that callers must define. * boot_script.c: All uses of malloc/free changed to use those instead. * userland-boot.c: New file. Defines them using malloc/free. * Makefile (SRCS, OBJS): Add it. * boot.c (boot_script_malloc, boot_script_free): Old cruft functions removed. * boot_script.c (boot_script_parse_line): Take new first argument HOOK. Store it in CMD->hook. (main): Update caller. (boot_script_exec): Pass CMD->hook as 1st arg to boot_script_exec_cmd. (boot_script_exec_cmd): Take new first argument HOOK. * boot.c (boot_script_exec_cmd): Likewise. * boot_script.h (struct cmd): New member `void *hook'. Update decls for HOOK arguments added.
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-2/+3
| | | | | | | | | | * boot_script.h (boot_script_malloc, boot_script_free): Declare new functions that callers must define. * boot_script.c: All uses of malloc/free changed to use those instead. * userland-boot.c: New file. Defines them using malloc/free. * Makefile (SRCS, OBJS): Add it. * boot.c (boot_script_malloc, boot_script_free): Old cruft functions removed.
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-0/+82
| | | | | | | | | | | | | | | | | | | | * boot_script.h (struct cmd): Change `task' member type to `task_t'. (boot_script_task_create, boot_script_task_resume, boot_script_prompt_task_resume, boot_script_free_task): Declare new functions that callers must define. * userland-boot.c: Define those. * boot_script.c (create_task, resume_task, prompt_resume_task): Use those instead of direct Mach calls. (free_cmd): Likewise. (read_file): Function removed. (builtin_symbols): Remove the "read-file" element. * boot_script.h (boot_script_malloc, boot_script_free): Declare new functions that callers must define. * boot_script.c: All uses of malloc/free changed to use those instead. * userland-boot.c: New file. Defines them using malloc/free. * Makefile (SRCS, OBJS): Add it. * boot.c (boot_script_malloc, boot_script_free): Old cruft functions removed.
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-172-76/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * boot_script.h (struct cmd): Change `task' member type to `task_t'. (boot_script_task_create, boot_script_task_resume, boot_script_prompt_task_resume, boot_script_free_task): Declare new functions that callers must define. * userland-boot.c: Define those. * boot_script.c (create_task, resume_task, prompt_resume_task): Use those instead of direct Mach calls. (free_cmd): Likewise. (read_file): Function removed. (builtin_symbols): Remove the "read-file" element. * boot_script.h (boot_script_malloc, boot_script_free): Declare new functions that callers must define. * boot_script.c: All uses of malloc/free changed to use those instead. * userland-boot.c: New file. Defines them using malloc/free. * Makefile (SRCS, OBJS): Add it. * boot.c (boot_script_malloc, boot_script_free): Old cruft functions removed. * boot_script.c (boot_script_parse_line): Take new first argument HOOK. Store it in CMD->hook. (main): Update caller. (boot_script_exec): Pass CMD->hook as 1st arg to boot_script_exec_cmd. (boot_script_exec_cmd): Take new first argument HOOK. * boot.c (boot_script_exec_cmd): Likewise. * boot_script.h (struct cmd): New member `void *hook'. Update decls for HOOK arguments added.
* GC some stale itemsRoland McGrath2001-08-171-14/+1
|
* 2001-08-17 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-08-172-4/+5
| | | | | * ialloc.c (diskfs_alloc_node): Remove warnings about stale nonzero st_blocks or st_size.
* .Roland McGrath2001-08-171-0/+8
|
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-8/+14
| | | | | * inode.c (write_node): Leave i_size, i_blocks, i_translator unchanged when the inode has been deleted. Suggested by Marcus Brinkmann.
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-4/+1
| | | | | * dir.c (diskfs_dirremove_hard): Remove redundant DP->dn_set_mtime set. Noticed by Marcus Brinkmann.
* .Roland McGrath2001-08-151-0/+11
|