summaryrefslogtreecommitdiff
path: root/sutils
AgeCommit message (Collapse)Author
2012-09-23Add options for user-space parted storesJeremie Koenig
Add option -p to MAKEDEV to use user-space parted stores for partition devices. * sutils/MAKEDEV.sh: Add -p option to use "part" store type.
2012-09-23Add options -k and -K to MAKEDEV.shJeremie Koenig
to chose not to overwrite existing entries. * MAKEDEV.sh: Handle -k by passing it to settrans. Handle -K by checking for existing translator.
2012-05-19Add /dev/netdde and /dev/eth* targetsSamuel Thibault
* sutils/MAKEDEV.sh (netdde, eth*): Add targets.
2012-04-08Replace fragile manual »make dist« system with one based on »git archive«.Thomas Schwinge
* Makeconf (lndist): Remove target. (dist-hook, dist.tar): New targets. * Makefile (dist): Rewrite this target's as well as accompanying rules. (%-lndist, cp-linked-files, $(lf-inst)): Remove targets. (%.bz2, %.gz, %/dist-hook): New targets. (DISTFILES): Set. * doc/Makefile (DISTFILES): Set. * doc/Makefile (lndist, lndist-info-targets): Remove targets. * include/Makefile (lndist): Remove target. * libthreads/Makefile (lndist, lndist-i386-files, lndist-map-file): Remove targets. * pfinet/Makefile (lndist, lndist-linux-src-net-core-files) (lndist-linux-src-net-ethernet-files, lndist-linux-src-net-ipv4-files) (lndist-linux-src-net-ipv6-files, lndist-linux-src-asm-files) (lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files) (lndist-linux-src-include-asm-files, lndist-glue-include-linux-files) (lndist-glue-include-asm-files): Remove targets. * auth/Makefile (LCLHDRS): Don't set. * boot/Makefile (LCLHDRS, DIST_FILES): Likewise. * bsdfsck/Makefile (LCLHDRS): Likewise. * config/Makefile (DIST_FILES): Likewise. * console-client/Makefile (LCLHDRS): Likewise. * console/Makefile (LCLHDRS, DIST_FILES): Likewise. * doc/Makefile (DIST_FILES): Likewise. * exec/Makefile (LCLHDRS, DIST_FILES): Likewise. * ext2fs/Makefile (LCLHDRS): Likewise. * fatfs/Makefile (LCLHDRS): Likewise. * ftpfs/Makefile (LCLHDRS): Likewise. * hostmux/Makefile (LCLHDRS): Likewise. * hurd/Makefile (DIST_FILES): Likewise. * include/Makefile (LCLHDRS): Likewise. * isofs/Makefile (LCLHDRS, DIST_FILES): Likewise. * libcons/Makefile (LCLHDRS): Likewise. * libdirmgt/Makefile (LCLHDRS): Likewise. * libdiskfs/Makefile (LCLHDRS): Likewise. * libfshelp/Makefile (LCLHDRS): Likewise. * libftpconn/Makefile (LCLHDRS): Likewise. * libihash/Makefile (LCLHDRS): Likewise. * libiohelp/Makefile (LCLHDRS): Likewise. * libnetfs/Makefile (LCLHDRS): Likewise. * libpager/Makefile (LCLHDRS): Likewise. * libpipe/Makefile (LCLHDRS): Likewise. * libports/Makefile (LCLHDRS): Likewise. * libps/Makefile (LCLHDRS): Likewise. * libshouldbeinlibc/Makefile (LCLHDRS): Likewise. * libstore/Makefile (LCLHDRS, DIST_FILES): Likewise. * libthreads/Makefile (LCLHDRS): Likewise. * libtreefs/Makefile (LCLHDRS): Likewise. * libtrivfs/Makefile (LCLHDRS): Likewise. * mach-defpager/Makefile (LCLHDRS): Likewise. * nfs/Makefile (LCLHDRS): Likewise. * nfsd/Makefile (LCLHDRS): Likewise. * pfinet/Makefile (LCLHDRS): Likewise. * pflocal/Makefile (LCLHDRS): Likewise. * proc/Makefile (LCLHDRS, DIST_FILES): Likewise. * release/Makefile (DIST_FILES): Likewise. * storeio/Makefile (LCLHDRS): Likewise. * sutils/Makefile (LCLHDRS): Likewise. * term/Makefile (LCLHDRS, DIST_FILES): Likewise. * tmpfs/Makefile (LCLHDRS): Likewise. * ufs-fsck/Makefile (LCLHDRS): Likewise. * ufs/Makefile (LCLHDRS): Likewise. * usermux/Makefile (LCLHDRS): Likewise. * utils/Makefile (LCLHDRS): Likewise.
2011-12-20Fix e2os script posixnessSamuel Thibault
* sutils/e2os.sh (sbget, sbset): Use POSIX syntax for functions.
2011-08-20fix common misspellingsJonathan Neuschäfer
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-05-16Fix crash on fstab-existing mountSamuel Thibault
Fix crash when invoking mount with a pair of parameters which already exists in fstab * sutils/fstab.c (fstab_add_mntent): Do not free `mounted_fs' when it is the same as `fs'.
2011-05-16fstab_find: also try to call realpath()Samuel Thibault
For symlinks and non-absolute paths. * sutils/fstab.c (fstab_find): Also call `fstab_find_device' and `fstab_find_mount' on path returned by `realpath'.
2010-08-01Fix "make dist" in `sutils'.Ludovic Courtès
* sutils/Makefile (SRCS): Add `clookup.c', `fstab.c', and `update.c'.
2010-01-11Make MAKEDEV bash-freeSamuel Thibault
* sutils/MAKEDEV.sh (cmd, st, lose, mkdev): Remove function, add (). (mkdev): Use ${I#???} instead of ${I:3}.
2009-09-27Use #!/bin/bash instead of #!/bin/shSamuel Thibault
The script makes big use of bashisms.
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
2007-04-072007-04-07 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* swapon.c (main, doc) [!SWAPOFF]: Unless overridden, consider a swap signature when deciding whether to add a paging device or not.
2007-04-072007-04-07 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9]' devices.
2002-09-172002-09-17 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (prog-subdirs): Add console-client. sutils/ 2002-09-17 Marcus Brinkmann <marcus@gnu.org> * MAKEDEV.sh (mkdev: vcs): New console device. (mkdev: tty[0-9a-f]|tty[0-9][0-9a-f]): Replaced with new rules for tty[1-9][0-9]. utils/ 2002-09-17 Marcus Brinkmann <marcus@gnu.org> * console-ncurses.c: File removed (the ncursesw console client is now a driver in the console-client). * Makefile: Revert 2002-08-22 change: Do not include`../config.make'. (targets) [LIBNCURSES]: Removed. (SRCS) [LIBNCURSES]: Likewise. (HURDLIBS) [LIBNCURSES]: Likewise. (console-ncurses): Target removed. (console-ncurses-CPPFLAGS): Removed. (console-ncurses-LDLIBS): Likewise. console-client/ 2002-09-17 Marcus Brinkmann <marcus@gnu.org> * Makefile, bdf.c, bdf.h, bell.h, console.c, display.h, driver.c, driver.h, generic-speaker.c, input.h, pc-kbd.c, timer.c, timer.h, unicode.h, vga.c, vga-dynacolor.c, vga-dynacolor.h, vga-dynafont.c, vga-dynafont.h, vga-hw.h, vga-support.c, vga-support.h: New file.
2002-06-26.Roland McGrath
2002-06-262002-06-26 Roland McGrath <roland@frob.com>Roland McGrath
* swapon.c (swaponoff): Fix last change.
2002-06-25.Roland McGrath
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* swapon.c (swaponoff): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead.
2002-05-08.Roland McGrath
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* swapon.c (check_signature): Use %zu for size_t arg.
2002-05-03.Roland McGrath
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* reboot.c: Include <error.h>. * halt.c: Likewise.
2002-03-26*** empty log message ***Neal H. Walfield
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* halt.c (main): Use error, not perror. * reboot.c (main): Likewise. * update.c (main): Use error, not perror and exit.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: shm): Give the file mode 644 and pass options to tmpfs: -m 1777 512M.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem. (mkdev: std): Add shm to the standard list.
2001-09-07.Roland McGrath
2001-09-072001-09-06 Roland McGrath <roland@frob.com>Roland McGrath
* MAKEDEV.sh (pty cases): Remove ptyT? from the set. Add pty?[g-v].
2001-02-28.Roland McGrath
2001-02-282001-02-27 Roland McGrath <roland@frob.com>Roland McGrath
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-182001-02-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fstab.c (STORE): Only copy when field exists (is non-zero). Reported by Alexey Dejeka <alexey@comail.ru>.
2001-01-14trans/Marcus Brinkmann
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-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* clookup.c (file_name_lookup_carefully): Don't use MOVE_SEND in Hurd RPC.
1999-12-03.Roland McGrath
1999-12-031999-12-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: full): New device, using /hurd/null --full. (mkdev: std): Add full to the standard list.
1999-11-21.Roland McGrath
1999-11-211999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: time): Use --no-cache flag. (mkdev: mem): New storeio device. (mkdev: std): Add mem to standard list.
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