summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-11-211999-11-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dlabel.c (fd_get_device): Check STORE->class->id, not STORE->class.
1999-11-19mount.sh replaced by mount.cRoland McGrath
1999-11-191999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mount.c: New file. * mount.sh: File removed. * Makefile (special-targets): Remove mount. (SRCS): mount.sh -> mount.c (mount): Add deps on ../sutils/fstab.o, ../sutils/clookup.o, libfshelp and libports. (../sutils/fstab.o ../sutils/clookup.o): Rule to build in ../sutils.
1999-11-191999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (progs, scripts): New variables. (targets, special-targets, SRCS, OBJS): Define in terms of those. (libshouldbeinlibc dep rule): Replaced with static pattern rule with $(progs) as target list, giving %.o dep as well.
1999-11-19(fstab_argp_create): brainoRoland McGrath
1999-11-19.Roland McGrath
1999-11-191999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Check strdup return for ENOMEM failure. (fstypes_find_program): New function, #if 0'd out for now. (fstab_argp, fstab_argp_create, options, parse_opt): New variables and functions. * fstab.h: Misc comment fixes. (struct fstab_argp_params): New type. (fstab_argp, fstab_argp_create): Declare them. * fsck.c (options): Remove --fstab/-F, --search-fmts/-S, --exclude-root/-R, --exclude/-X, --fstype/-t, --all/-A; all of these are now factored out into fstab_argp. (main): Remove parsing code for options now in fstab_argp. Instead, use fstab_argp as an argp_child and use fstab_argp_create to process the option-parsing results into a struct fstab * to process. * fstab.c (fstab_read): Undo change of 1999-09-17. It should not be necessary at all, given 1999-05-23 change, and: (fstab_find_mount): Do not consider name "ignore" to match any mount.
1999-11-191999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Check strdup return for ENOMEM failure. (fstypes_find_program): New function, #if 0'd out for now. (fstab_argp, fstab_argp_create, options, parse_opt): New variables and functions. * fstab.h: Misc comment fixes. (struct fstab_argp_params): New type. (fstab_argp, fstab_argp_create): Declare them. * fsck.c (options): Remove --fstab/-F, --search-fmts/-S, --exclude-root/-R, --exclude/-X, --fstype/-t, --all/-A; all of these are now factored out into fstab_argp. (main): Remove parsing code for options now in fstab_argp. Instead, use fstab_argp as an argp_child and use fstab_argp_create to process the option-parsing results into a struct fstab * to process.
1999-11-191999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* swapon.c (swaponoff): Check for a null default pager port.
1999-11-18.Roland McGrath
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (default_pager): Instead of suspending this thread, just become the default_pager_default_thread thread ourselves.
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mach-defpager: New directory. See its ChangeLog. Makefile (prog-subdirs): Add mach-defpager.
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile, main.c: New files for new this directory `mach-defpager'. This is a standalone Hurd program version of the Mach default pager, with the bulk of the source code coming from ../serverboot. This program /hurd/mach-defpager is started like a normal daemon, i.e. from rc or whatever, rather than being the first task. * ChangeLog: New file, mentioning itself in this sentence.
1999-11-18.Roland McGrath
1999-11-181999-11-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dev.h (struct dev): New member `enforced'. * storeio.c (enforce_store): New variable. (options, parse_opt, trivfs_append_args): Grok new option --enforced/-e to set enforce_store. (check_open_hook): Set DEVICE->enforced from enforce_store. * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER.
1999-11-181999-11-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* storeio.c (check_open_hook): Don't check for D_NO_SUCH_DEVICE here. Translation to ENXIO now done in libstore. * dev.h (struct dev): New member `enforced'. * storeio.c (enforce_store): New variable. (options, parse_opt, trivfs_append_args): Grok new option --enforced/-e to set enforce_store. (check_open_hook): Set DEVICE->enforced from enforce_store. * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER.
1999-11-181999-11-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io.c (trivfs_S_file_get_storage_info): Fail with EOPNOTSUPP when there is no store open. * dev.h (struct dev): New member `enforced'. * storeio.c (enforce_store): New variable. (options, parse_opt, trivfs_append_args): Grok new option --enforced/-e to set enforce_store. (check_open_hook): Set DEVICE->enforced from enforce_store. * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER.
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* wiring.c (wire_all_memory): Touch pages before wiring.
1999-11-181999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (default_pager_initialize): Use MACH_PORT_VALID to check old DMM port, rather than just checking for MACH_PORT_NULL.
1999-11-181999-11-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* device.c (dev_error): New static function. Translate all expected D_* codes into POSIX codes. (dev_read, dev_write, dev_open): Use it.
1999-11-18.Roland McGrath
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* vmstat.c (BADVAL): New macro. (SWAP_FIELD): New macro. This properly takes care of exciting C type promotion rules to properly indicate errors. (get_swap_size, get_swap_free, get_swap_active): Replace definitions with ones using SWAP_FIELD macro. (ensure_def_pager_info): Give an error message for lack of a default pager; check only once.
1999-11-16.Roland McGrath
1999-11-161999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* strfcns.c (index): Function removed.
1999-11-16.Roland McGrath
1999-11-161999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-11-09.Roland McGrath
1999-11-091999-11-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* priv.h (_diskfs_chroot_directory): Remove const from type. * init-startup.c (_diskfs_chroot_directory): Likewise.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* disk-pager.c (fault_handler): Put more detail in assert failures.
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (main): Further spruce up prompting and error reporting for root device and boot script.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-write.c: Include <fcntl.h>.
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fsys-getroot.c (trivfs_S_fsys_getroot): Fix typo.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-write.c (trivfs_S_io_write): Return EBADF if trivfs_allow_open doesn't include O_WRITE.
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-modes-get.c (trivfs_S_io_get_openmodes): Remove assert. The default implementation ought to be fine for this.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exectrans.c (trivfs_support_write, trivfs_support_exec): Variables removed. (trivfs_allow_open): Set to just O_READ.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-owner-get.c (trivfs_S_io_get_owner): Remove asserts. It is entirely reasonable to have EOPNOTSUPP be the default implementation for these calls that files are not obligated to provide. * io-owner-mod.c (trivfs_S_io_mod_owner): Likewise. * io-map.c (trivfs_S_io_map): Likewise. * io-async.c (trivfs_S_io_async): Likewise. * io-async-icky.c (trivfs_S_io_get_icky_async_id): Likewise.
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hello-mt.c: New file, modified from hello.c to be multithreaded. * Makefile (targets, SRCS): Add hello-mt, hello-mt.c. (hello-mt): Add appropriate deps. * hello.c (trivfs_modify_stat): Set st_size from contents_len, not sizeof (hello) - 1.
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hello-mt.c: New file, modified from hello.c to be multithreaded. * Makefile (targets, SRCS): Add hello-mt, hello-mt.c. (hello-mt): Add appropriate deps.
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hello-mt.c: New file, modified from hello.c to be multithreaded. * Makefile (targets, SRCS): Add hello-mt, hello-mt.c. (hello-mt): Add appropriate deps. * Makefile (hello): Don't depend on libthreads.
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fsys-getroot.c (trivfs_S_fsys_getroot): Return EROFS or EACCES for a disallowed open attempt, instead of EOPNOTSUPP. EOPNOTSUPP results in the confusing result of ENOTDIR being delivered to the user.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hello.c: New file. From Gord with some cleanups and hacks from me. * Makefile (targets, SRCS): Add hello, hello.c. (hello): Add appropriate deps.
1999-10-29.Roland McGrath
1999-10-291999-10-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* wire.c: Use a weak reference to _DYNAMIC.
1999-10-28.Roland McGrath