Age | Commit message (Collapse) | Author |
|
* sutils/e2os.sh (sbget, sbset): Use POSIX syntax for functions.
|
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
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'.
|
|
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'.
|
|
* sutils/Makefile (SRCS): Add `clookup.c', `fstab.c', and `update.c'.
|
|
* sutils/MAKEDEV.sh (cmd, st, lose, mkdev): Remove function, add
().
(mkdev): Use ${I#???} instead of ${I:3}.
|
|
The script makes big use of bashisms.
|
|
* 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.
|
|
* swapon.c (main, doc) [!SWAPOFF]: Unless overridden, consider a
swap signature when deciding whether to add a paging device or not.
|
|
* MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9]' devices.
|
|
* 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.
|
|
|
|
* swapon.c (swaponoff): Fix last change.
|
|
|
|
* swapon.c (swaponoff): If get_privileged_ports fails with EPERM, try
to open /servers/default-pager instead.
|
|
|
|
* swapon.c (check_signature): Use %zu for size_t arg.
|
|
|
|
* reboot.c: Include <error.h>.
* halt.c: Likewise.
|
|
|
|
* halt.c (main): Use error, not perror.
* reboot.c (main): Likewise.
* update.c (main): Use error, not perror and exit.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): Give the file mode 644 and pass
options to tmpfs: -m 1777 512M.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem.
(mkdev: std): Add shm to the standard list.
|
|
|
|
* MAKEDEV.sh (pty cases): Remove ptyT? from the set. Add pty?[g-v].
|
|
|
|
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.
|
|
* fstab.c (STORE): Only copy when field exists (is non-zero).
Reported by Alexey Dejeka <alexey@comail.ru>.
|
|
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.
|
|
* clookup.c (file_name_lookup_carefully): Don't use MOVE_SEND in
Hurd RPC.
|
|
|
|
* MAKEDEV.sh (mkdev: full): New device, using /hurd/null --full.
(mkdev: std): Add full to the standard list.
|
|
|
|
* MAKEDEV.sh (mkdev: time): Use --no-cache flag.
(mkdev: mem): New storeio device.
(mkdev: std): Add mem to standard list.
|
|
|
|
* 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.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.
|
|
* 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.
|
|
* swapon.c (swaponoff): Check for a null default pager port.
|
|
|
|
* MAKEDEV.sh (fd): Pass --directory to /hurd/magic translator.
|
|
* fstab.c (fstab_read): Ignore filesystems with types of ignore,
nfs, or swap.
|
|
* MAKEDEV.sh (mkdev): pty master and slave nodes should have mode
666, not 640. Reported by Marcus Brinkmann
<Marcus.Brinkmann@ruhr-uni-bochum.de>.
|
|
|