aboutsummaryrefslogtreecommitdiff
path: root/sutils/MAKEDEV.sh
Commit message (Collapse)AuthorAgeFilesLines
* MAKEDEV: Set up rump translator and fix netdde translatorSamuel Thibault2020-11-151-2/+8
| | | | | | | * sutils/MAKEDEV.sh (rumpdisk): Set up /dev/rumpdisk and /dev/disk that points to it. (netdde): Point /dev/net to /dev/netdde. (eth*): Use /dev/net instead of /dev/netdde.
* MAKEDEV: Add master and rumpdisk supportSamuel Thibault2020-11-151-5/+17
| | | | | * sutils/MAKEDEV.sh: Add -M option to set the master device node. Add support for wd* devices through rumpdisk.
* MAKEDEV: use bashSamuel Thibault2020-11-141-1/+1
| | | | | | dash's expandarg always calls expandmeta which calls glob64, which stats the parameters. This is dangerous for MAKEDEV since it triggers the translator, which may be strictly unwanted when filling an installed system.
* trans: New random translator.Justus Winter2017-06-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the Hurd included a translator providing /dev/random and /dev/urandom based on a source copy of the random number generator found in classic GnuPG. The new random translator is using the SHAKE128 algorithm from the SHA-3 family as the underlying cryptographic primitive. Being a sponge construction, it allows the extraction of arbitrary amounts of pseudorandom data. It is continuously fed entropy by hashing system state that is hard to predict. * Makefile (prog-subdirs): Remove 'random'. * NEWS: Update. * random/Makefile: Delete file. * random/TODO: Likewise. * random/gnupg-bithelp.h: Likewise. * random/gnupg-glue.h: Likewise. * random/gnupg-random.c: Likewise. * random/gnupg-random.h: Likewise. * random/gnupg-rmd.h: Likewise. * random/gnupg-rmd160.c: Likewise. * random/random.h: Likewise. * sutils/MAKEDEV.sh (random): Create node. (urandom): The new translator is both secure and non-blocking. Create a link from urandom to random for compatibility with Linux. * trans/Makefile (targets): Add 'random'. * trans/random.c: Move the skeleton of the old random translator here, but replace the PRNG with SHAKE128. Remove all dubious attempts of accounting for entropy. Do not block ever.
* sutils: add urandom device target to MAKEDEVDavid Michael2014-08-251-1/+3
| | | | | * sutils/MAKEDEV.sh (urandom): New target. (std): Add urandom to the standard devices list.
* sutils: set up /dev/null using /bin/nullpriv in MAKEDEV.shJustus Winter2013-09-191-1/+1
| | | | | | | | This patch makes MAKEDEV.sh use the /bin/nullpriv wrapper so that the storeio translator serving /dev/zero is started without any unix privileges. * sutils/MAKEDEV.sh (mkdev): Use /bin/nullpriv for /dev/zero.
* Add options for user-space parted storesJeremie Koenig2012-09-231-3/+15
| | | | | | | 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.
* Add options -k and -K to MAKEDEV.shJeremie Koenig2012-09-231-3/+13
| | | | | | | to chose not to overwrite existing entries. * MAKEDEV.sh: Handle -k by passing it to settrans. Handle -K by checking for existing translator.
* Add /dev/netdde and /dev/eth* targetsSamuel Thibault2012-05-191-0/+5
| | | | * sutils/MAKEDEV.sh (netdde, eth*): Add targets.
* Make MAKEDEV bash-freeSamuel Thibault2010-01-111-6/+6
| | | | | | * sutils/MAKEDEV.sh (cmd, st, lose, mkdev): Remove function, add (). (mkdev): Use ${I#???} instead of ${I:3}.
* Use #!/bin/bash instead of #!/bin/shSamuel Thibault2009-09-271-1/+1
| | | | The script makes big use of bashisms.
* 2007-04-07 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-04-071-1/+3
| | | | * MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9]' devices.
* 2002-09-17 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-09-171-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-03-23 Roland McGrath <roland@frob.com>Roland McGrath2002-03-241-4/+4
| | | | * MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
* 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.
* 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.
* 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].
* trans/Marcus Brinkmann2001-01-141-2/+3
| | | | | | | | | | | | | | | | | | | 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.
* 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.
* 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.
* 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-14 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-141-2/+2
| | | | | | * 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-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.
* 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.
* Thu Feb 18 02:13:47 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-181-1/+1
| | | | | | * 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>.
* Mon Feb 1 16:27:15 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-011-1/+1
| | | | | | * 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>.
* (mkdev):Miles Bader1997-10-281-2/+2
| | | | Support 256 ptys.
* (mkdev):Miles Bader1997-08-201-1/+1
| | | | Handle devices of the form "cd*".
* (time):Miles Bader1997-07-221-1/+1
| | | | Use /hurd/storeio instead of /hurd/devport.
* (mkdev):Miles Bader1997-06-261-1/+1
| | | | Add missing `ln' to command for stderr.
* (cmd):Miles Bader1997-06-241-30/+75
| | | | | | | | | | | | New function. (st, mkdir): Use cmd to execute any real commands. Use bash fancy variables instead of various programs. Try to get the correct devdir even if it's not the cwd. Add new options --verbose/-v and --dry-run/-n. Add the --devdir/-D option. Use the basename of $I instead of $I for various things. Correctly put derived names in the same directory as the arg.
* (mkdev):Miles Bader1997-03-021-0/+1
| | | | Make I local.
* Fix argument parsing.Miles Bader1996-09-241-12/+9
|
* (zero): Use `storeio -Tzero' instead of `null -z'.Miles Bader1996-09-241-1/+1
|
* Use a shell function `mkdev' for recursion, rather than calling this scriptMiles Bader1996-09-231-50/+87
| | | | recursively.
* Initial checkinMiles Bader1996-09-081-0/+78