Age | Commit message (Collapse) | Author |
|
FILECRED instead of DIRCRED.
|
|
(FSSRCS): Add file-get-fs-opts.c.
|
|
|
|
UNDERLYING_TYPE should be a pointer.
As should the UIDS & GIDS args to diskfs_make_protid.
|
|
(short_circuited_callback1): Dereference ARGZ & ARGZ_LEN.
Include <hurd/paths.h>
|
|
|
|
(diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL.
|
|
|
|
|
|
|
|
|
|
|
|
New functions, replacing the single original.
(_diskfs_translator_callback1, _diskfs_translator_callback2):
New variables, replacing the single original.
|
|
Change short_circuited_callback1 to reflect the split into two callbacks
(we use the global diskfs callback for the other).
|
|
|
|
|
|
|
|
diskfs doesn't implement itself.
(major, minor): New macros -- temporarily here until libc exports them.
|
|
Add missing else.
Use makedev macro instead of doing it by hand.
(makedev): New macro -- temporarily here until libc exports one.
|
|
console.c, readonly.c, remount.c, opts-common.c.
|
|
|
|
|
|
If this node isn't O_RDWR, only return the appropiate memobj.
Include <fcntl.h>.
|
|
Open exec's realnode read-only for now, since we know it doesn't matter and
having gratuitously writable nodes around prevents us from starting up or
going read-only.
(diskfs_S_fsys_init): Don't make the cwdir/crdir right with O_WRITE.
|
|
Open the new translator's realnode read-only for now, since we know it
doesn't matter and gratuitously writable nodes prevent us from starting up
or going read-only. The fsys_startup interface should change very soon and
make this irrelevant anyway.
|
|
Call diskfs_readonly_changed if we're starting up writable.
|
|
|
|
Hold DISKFS_FSYS_LOCK for writing while setting our own options, and for
reading while setting our children's.
Dereference PT even when a child filesystem returns an error.
|
|
|
|
(diskfs_shutdown): Lock DISKFS_FSYS_LOCK for writing.
|
|
(startup_common_argp, startup_argp_parents): New variables.
(startup_argp): Include parents.
|
|
Pass the second protection arg to diskfs_get_filemap.
Only map our i/o region with as much permission as we need.
|
|
Rework readonly transition & remounting. Now they should actually work.
(std_runtime_options): Remove options common to both runtime and startup.
(diskfs_set_options): Use the common options.
|
|
|
|
|
|
(diskfs_fsys_lock):
Renamed from diskfs_shutdown_lock. Change to a struct rwlock.
(diskfs_readonly_changed, diskfs_reload_global_state, diskfs_node_reload,
diskfs_max_user_pager_prot, diskfs_set_readonly, diskfs_remount):
New declarations.
(diskfs_readonly_changed): New declaration.
(disksf_get_filemap): Add prot parameter.
(diskfs_main_request_loop): Declaration removed.
|
|
directory. Dike out totally bogus set[ug]id code. Bother to lock NP
around critical section.
|
|
|
|
(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>.
|
|
hurd_file_name_lookup to open /servers/exec.
|
|
Add necessary includes.
|
|
|
|
|
|
|
|
(fs-MIGSFLAGS, io-MIGSFLAGS, ifsock-MIGSFLAGS): New variables.
(fsys-MIGSFLAGS): Also import fsmutations.h.
(OTHERSRCS): Remove boot-parse.c; add filedev.c & machdev.c.
|