aboutsummaryrefslogtreecommitdiff
path: root/sutils
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath2002-05-081-0/+4
|
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-10/+10
| | | | * swapon.c (check_signature): Use %zu for size_t arg.
* .Roland McGrath2002-05-031-0/+5
|
* 2002-05-03 Roland McGrath <roland@frob.com>Roland McGrath2002-05-032-0/+2
| | | | | * reboot.c: Include <error.h>. * halt.c: Likewise.
* *** empty log message ***Neal H. Walfield2002-03-261-0/+6
|
* 2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield2002-03-263-9/+6
| | | | | | * halt.c (main): Use error, not perror. * reboot.c (main): Likewise. * update.c (main): Use error, not perror and exit.
* .Roland McGrath2002-03-241-0/+2
|
* 2002-03-23 Roland McGrath <roland@frob.com>Roland McGrath2002-03-241-4/+4
| | | | * MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
* .Roland McGrath2002-03-241-0/+3
|
* 2002-03-23 Roland McGrath <roland@frob.com>Roland McGrath2002-03-241-1/+7
| | | | | * MAKEDEV.sh (mkdev: shm): Give the file mode 644 and pass options to tmpfs: -m 1777 512M.
* .Roland McGrath2002-03-241-0/+5
|
* 2002-03-23 Roland McGrath <roland@frob.com>Roland McGrath2002-03-241-1/+7
| | | | | * MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem. (mkdev: std): Add shm to the standard list.
* .Roland McGrath2001-09-071-0/+4
|
* 2001-09-06 Roland McGrath <roland@frob.com>Roland McGrath2001-09-071-4/+7
| | | | * MAKEDEV.sh (pty cases): Remove ptyT? from the set. Add pty?[g-v].
* .Roland McGrath2001-02-281-0/+19
|
* 2001-02-27 Roland McGrath <roland@frob.com>Roland McGrath2001-02-282-19/+358
| | | | | | | | | | | | | | | | | | | Use a new, more flexible RPC interface to the default pager. This allows swapon to do its own interpretation of Linux swap signature pages, and to support partial-device stores such as store_open will return for regular files on disk filesystems. * swapon.c: Include <hurd/default_pager.h>, not <mach/default_pager.h>. (ignore_signature, require_signature, quiet): New variables. (options): Add --silent, --no-signature, --require-signature. (main: parse_opt): Parse them. (check_signature): New function. (swaponoff): Use it unless --no-signature set, to get a remapped store using the pages indicated by the Linux signature page. Try new default_pager_paging_storage RPC first, using a possibly-remapped device store. If the default pager does not support that, fall back to the old protocol that only supports whole devices (and wherein the default pager itself interprets a Linux signature page). * Makefile (swapon, swapoff): Depend on default_pagerUser.o.
* 2001-02-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-02-182-1/+12
| | | | | * fstab.c (STORE): Only copy when field exists (is non-zero). Reported by Alexey Dejeka <alexey@comail.ru>.
* trans/Marcus Brinkmann2001-01-142-2/+8
| | | | | | | | | | | | | | | | | | | 2001-01-13 Marcus Brinkmann <marcus@gnu.org> * Makefile (SRCS): Add streamio.c (streamio): Add dependency on device_replyServer.o. Other dependencies identical to those for crash and password. (OBJS): Add missing object files to list (crashServer.o crash_replyUser.o msgServer.o device_replyServer.o). * storeio.c: New file by OKUJI Yoshinori. sutils/ 2001-01-14 Marcus Brinkmann <marcus@gnu.org> * MAKEDEV.sh (mkdev: klog): New device, using /hurd/streamio kmsg. (mkdev: std): Add klog to the standard list.
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-172-2/+8
| | | | | * clookup.c (file_name_lookup_carefully): Don't use MOVE_SEND in Hurd RPC.
* .Roland McGrath1999-12-031-0/+5
|
* 1999-12-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-12-031-1/+3
| | | | | * MAKEDEV.sh (mkdev: full): New device, using /hurd/null --full. (mkdev: std): Add full to the standard list.
* .Roland McGrath1999-11-211-0/+4
|
* 1999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-211-2/+4
| | | | | | * MAKEDEV.sh (mkdev: time): Use --no-cache flag. (mkdev: mem): New storeio device. (mkdev: std): Add mem to standard list.
* mount.sh replaced by mount.cRoland McGrath1999-11-191-0/+7
|
* 1999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-191-8/+7
| | | | | | | * 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.
* (fstab_argp_create): brainoRoland McGrath1999-11-191-3/+3
|
* .Roland McGrath1999-11-191-0/+24
|
* 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-191-7/+336
| | | | | | | | | | | | | | | | | | | * 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-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-192-211/+62
| | | | | | | | | | | | | | | | * 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-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-191-0/+2
| | | | * swapon.c (swaponoff): Check for a null default pager port.
* .Roland McGrath1999-10-111-1/+5
|
* 1999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-111-1/+7
| | | | * MAKEDEV.sh (fd): Pass --directory to /hurd/magic translator.
* 1999-09-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-172-0/+9
| | | | | * fstab.c (fstab_read): Ignore filesystems with types of ignore, nfs, or swap.
* 1999-09-14 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-142-2/+8
| | | | | | * MAKEDEV.sh (mkdev): pty master and slave nodes should have mode 666, not 640. Reported by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
* .Roland McGrath1999-07-111-1/+9
|
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+1
| | | | * clookup.c: Add #include <sys/mman.h>.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-112-6/+72
| | | | | | * Makefile (special-targets): Add losetup. (SCRIPTS): Add losetup.sh. * losetup.sh: New file.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-032-3/+7
| | | | | * clookup.c (file_name_lookup_carefully): Use munmap instead of vm_deallocate.
* .Roland McGrath1999-06-111-0/+26
|
* 1999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-111-11/+168
| | | | | | | | | | | | | | | | | | | | * fsck.c (options): Add -t/--fstype option. (main): Parse that option, and use it to constrain fstab list. * fsck.c (FSCK_F_DRYRUN): New macro. (options, main): Add -N/--dry-run option to set it. (fs_start_fsck): If FSCK_F_DRYRUN set, just print out and return zero. * fsck.c (fscks_start_fsck): If FSCK_F_DRYRUN is set, don't try to make read-only, just print a message that we would. * fsck.c (options, main): Change --fstab from -t to -F. 1999-06-10 Roland McGrath <roland@baalperazim.frob.com> * fsck.c (options): Add -A/--all and -R/--exclude-root options for compatibility with Linux, and --exclude=PATTERN as general form. (main): Parse them. Constrain fstab list by exclude patterns. * fsck.c (fsck): Don't check for "noauto" mntopt. No other system skips a filesystem because of it. (fsck): Always start at pass 1, not 0. In every other system, "pass 0" always means to skip that filesystem entirely.
* 1999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-111-1/+2
| | | | * fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure.
* .Roland McGrath1999-05-231-0/+8
|
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-47/+60
| | | | | | | | | | * MAKEDEV.sh (ECHO, EXEC): Do not export. (DEVDIR): Initialize to `pwd` before argument parsing. (_CWD): Don't set this. (lose): New function. Use it for all miscellaneous fatal errors. (mkdev): Disallow directory names. Always use ${DEVDIR} for name to embed in translator settings. Rewrite syntax checking for disk device names.
* .Roland McGrath1999-05-231-0/+9
|
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-13/+20
| | | | | | * fstab.c, fstab.h: Add numerous `const' qualifiers. * fstab.c (fstab_find_mount): Don't count "none" or "-" as matching any other entry.
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-3/+3
| | | | * fsck.c (struct fsck): Don't use bitfield.
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-13/+15
| | | | * fstab.c, fstab.h: Add numerous `const' qualifiers.
* .Roland McGrath1999-05-151-1/+9
|
* 1999-05-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-2/+2
| | | | * MAKEDEV.sh (case 'time'): Make /dev/time mode 644, not 666.
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-11/+44
| | | | * swapon.c: Support -a (reading fstab).