summaryrefslogtreecommitdiff
path: root/sutils
AgeCommit message (Collapse)Author
1999-11-19mount.sh replaced by mount.cRoland McGrath
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-10-11.Roland McGrath
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* MAKEDEV.sh (fd): Pass --directory to /hurd/magic translator.
1999-09-171999-09-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* fstab.c (fstab_read): Ignore filesystems with types of ignore, nfs, or swap.
1999-09-141999-09-14 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* MAKEDEV.sh (mkdev): pty master and slave nodes should have mode 666, not 640. Reported by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1999-07-11.Roland McGrath
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* clookup.c: Add #include <sys/mman.h>.
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (special-targets): Add losetup. (SCRIPTS): Add losetup.sh. * losetup.sh: New file.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* clookup.c (file_name_lookup_carefully): Use munmap instead of vm_deallocate.
1999-06-11.Roland McGrath
1999-06-111999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-111999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure.
1999-05-23.Roland McGrath
1999-05-231999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-05-23.Roland McGrath
1999-05-231999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-231999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fsck.c (struct fsck): Don't use bitfield.
1999-05-231999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c, fstab.h: Add numerous `const' qualifiers.
1999-05-15.Roland McGrath
1999-05-151999-05-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* MAKEDEV.sh (case 'time'): Make /dev/time mode 644, not 666.
1999-05-151999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* swapon.c: Support -a (reading fstab).
1999-02-18Thu Feb 18 02:13:47 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* MAKEDEV.sh (mkdev): put `time' in single-quotes; it's a reserved word in bash 2.02 and this protects it. Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
1999-02-01Mon Feb 1 16:27:15 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* MAKEDEV.sh (PATH): Add /usr/bin out of deference to users lacking the /usr symlink. Requested by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1998-11-29.Roland McGrath
1998-11-291998-11-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fsck.c (main): Add braces to silence gcc warning.
1998-11-291998-11-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c: Rename fsys_remount -> fsys_update in extern decl.
1998-11-291998-11-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* clookup.c (file_name_lookup_carefully): Change __getuids to geteuids. Use hurd_file_name_lookup instead of __hurd_file_name_lookup.
1998-10-24.Roland McGrath
1998-10-241998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* clookup.c (file_name_lookup_carefully): Use getdport instead of __getdport, getumask () instead of _hurd_umask.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1998-07-20.Roland McGrath
1998-07-201998-07-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* swapon.c (main): Fix return type to int, and use return.
1997-10-28.Miles Bader
1997-10-28(mkdev):Miles Bader
Support 256 ptys.
1997-08-20(mkdev):Miles Bader
Handle devices of the form "cd*".
1997-08-20.Miles Bader
1997-08-20(_fs_check_mounted):Miles Bader
file_get_translator_cntl can also return ENXIO for an inactive translator.
1997-07-22.Miles Bader
1997-07-22(time):Miles Bader
Use /hurd/storeio instead of /hurd/devport.
1997-07-15Doc fix.Miles Bader
1997-07-09Initial checkinMiles Bader
1997-07-09.Miles Bader
1997-07-09(SRCS):Miles Bader
Add swapon.c & swapoff.c. (HURDLIBS): Add libstore. (targets): Add swapon & swapoff. Add dependencies on libstore.
1997-06-26fix typo in commentRoland McGrath