From 582c10fdfc74d1fcef04230983c679683d4d78ca Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 7 Apr 2007 09:22:39 +0000 Subject: 2007-04-07 Thomas Schwinge * MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9]' devices. --- sutils/ChangeLog | 4 ++++ sutils/MAKEDEV.sh | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sutils/ChangeLog b/sutils/ChangeLog index d5054dc8..55b2e203 100644 --- a/sutils/ChangeLog +++ b/sutils/ChangeLog @@ -1,3 +1,7 @@ +2007-04-07 Thomas Schwinge + + * MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9' devices. + 2002-09-17 Marcus Brinkmann * MAKEDEV.sh (mkdev: vcs): New console device. diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh index 70599a1e..c9bd209f 100644 --- a/sutils/MAKEDEV.sh +++ b/sutils/MAKEDEV.sh @@ -79,7 +79,7 @@ function lose { function mkdev { local I for I; do - case "$I" in + case $I in /* | */*) lose "Device names cannot contain directories" \ "Change to target directory and run $0 from there." @@ -95,6 +95,8 @@ function mkdev { tty[1-9][0-9]|tty[1-9]) st $I root 600 /hurd/term ${DEVDIR}/$I hurdio \ ${DEVDIR}/vcs/`echo $I | sed -e s/tty//`/console;; + lpr[0-9]) + st $I root 660 /hurd/streamio "$I";; null) st $I root 666 /hurd/null;; full) -- cgit v1.2.3