Age | Commit message (Collapse) | Author |
|
|
|
(pfatal, pwarn, errexit): Print DEVICE_NAME too if in preen mode.
(pinode): Take a message & args to print as well.
|
|
Change declaration of pinode.
Change LFNAME to char*.
|
|
(lfname, lfmode): Variables moved to main.c.
|
|
|
|
reconnect attempt fails, don't try again.
(pass4): Use changed pinode.
(pass4): Call pfix instead of printf.
|
|
(pass3): Call pfix instead of printf.
|
|
also print error messages when we can't.
(pass2): Use changed pinode.
(pass2): Call pfix instead of printf.
|
|
(pass1): Change the extent of DBWARN & IBWARN so that they actually work.
(pass1): Call pfix instead of printf.
|
|
(searchdir, changeino): Fix backward compare.
(linkup): Don't fail when makeentry succeeds.
(searchdir): Make searchdir return zero if there's an error during the search.
(linkup): Print appropiate error messages if searchdir fails.
(validdir): Get rid of extra newlines in error messages --
everyone who calls this routine prints extra information if it
fails, which should immediately follow.
|
|
(main): Use getopt to parse command line options.
(usage): New function.
(options): New variable.
(lfname, lfmode): Variables moved here from setup.c.
(lfname): Made into a char* so that we can change it.
(lfmode): Get rid of IFDIR; it's added when necessary.
|
|
|
|
|
|
(std_*, finish): Make global.
(do_exec): Only reset CWDIR when null, even if secure.
Actually call check_hashbang and return success if it does.
Use new hurd_file_name_lookup protocol with private callbacks to open
interpreter file on behalf of client.
Remove `bootout' label; use `stdout' or `out' as appropriate instead.
At `out' label always deref BOOT, which cleans it up iff necessary.
(S_exec_exec): #if 0 out $EXECSERVERS processing for time being.
|
|
(DIST_FILES): Remove it from here.
|
|
(struct execdata): Moved here from exec.c.
(std_*): Declare these.
(finish, check_hashbang): Declare them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(ARGP_HELP_STD_USAGE): ... whereas this does.
|
|
|
|
should be almost all ufs-specific now.
(USAGE, usage, SHORT_OPTS, long_opts, parse_opt, trans_parse_arg): RIP.
(printf_lock): Initialize.
(diskfs_init_completed): Function deleted (now in libdiskfs).
(thread_cancel): Function deleted.
|
|
|
|
|
|
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
|
|
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
(pager_report_extent): Calculate the pager size.
|
|
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
|
|
and DISKFS_DEVICE_NAME instead of UFS_DEVICE_NAME.
|
|
|
|
(std_startup_arg): Renamed from std_startp_argp, converted argp fmt.
(diskfs_standard_startup_argp): Renamed from diskfs_standard_startup_options.
(parse_startup_opt): Set DISKFS_ARGV.
(diskfs_use_mach_device, diskfs_device_arg, dev_startup_options,
dev_startup_argp_parents, dev_startup_argp, diskfs_device_startup_argp):
New variables.
(parse_dev_startup_opt): New function.
|
|
|
|
Call diskfs_start_bootstrap if we're the bootstrap file system.
|
|
(SHORT_OPTIONS): Removed.
(diskfs_set_options): Converted to use argp.
|
|
(diskfs_argv): New variable. Should get set by default arg parser.
(diskfs_start_bootstrap): Get rid of ARGV argument.
(diskfs_S_fsys_init): Use DISKFS_ARGV instead of SAVED_ARGV.
(diskfs_execboot_fsys_startup):
Fix args to dir_lookup. Declare PATHBUF and RETRY.
(diskfs_S_fsys_init): Put the contents of diskfs_init_completed in here,
freeing that routine for user-use.
|
|
(diskfs_argv): New declaration.
(diskfs_device, diskfs_device_name, diskfs_device_start, diskfs_device_size,
diskfs_device_block_size, diskfs_log2_device_block_size,
diskfs_log2_device_blocks_per_page, diskfs_device_write_sync,
diskfs_device_write_sync, diskfs_device_open, diskfs_console_stdio):
New declarations.
(diskfs_parse_runtime_options, diskfs_standard_startup_argp):
Use argp, not options.
Include <argp.h> instead of <options.h>.
|
|
|
|
from mach_port_send_t. We cannot safely use dealloc ool or move rights
with the current RPC system.
|
|
|
|
hurd_file_name_lookup to open /servers/exec.
|
|
(hol_entry_help): Print the right documentation string for each entry.
(argp_help): Renamed from argp_usage.
(make_hol): Deal with a null value of OPT. If there are no entries, don't
define the ENTRIES or SHORT_OPTIONS fields.
(hol_free): Don't free ENTRIES or SHORT_OPTIONS unless there are any.
(hol_sort): Don't sort unless there are some entries.
(hol_usage): Don't do anything unless there are some entries.
(hol_sort): Sort int he correct order.
(hol_append): Implement.
(argp_help): Add the ARGP_HELP_SHORT_USAGE case.
|
|
Update STATE.argp when adding a wrapper to implement the --help option.
In general, use the version of variables that are in STATE.
Update STATE.index in the case where getopt returns EOF.
Correctly translate options.
(argp_default_parser, argp_parse): Rename uses of argp_usage* to argp_help*.
(argp_parse):
Deal with null parser or option fields.
If an argp has neither a parser or any options, don't put it in GROUPS.
Use comparison with EGROUP, rather than testing the parser field, the end
test for iteration over GROUPS.
(argp_parse): Pass in the right value for GROUPS to convert_options.
|
|
(ARGP_HELP_STD_HELP): Use ARGP_HELP_SHORT_USAGE instead of ARGP_HELP_USAGE.
|
|
storage gets used after parse_opt returns.
(options): Converted to argp format.
(main): Use argp, not getopt.
(usage, USAGE, SHORT_OPTIONS): Deleted.
(arg_doc, doc): New variables.
Include <argp.h> not <getopt.h>.
|
|
(LCLHDRS): Add line.h and argp.h.
|
|
Change type of ADDRESSES to off_t **, and add BLOCK_SIZE parameter.
|
|
|