summaryrefslogtreecommitdiff
path: root/sutils
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-04-07 09:22:39 +0000
committerThomas Schwinge <tschwinge@gnu.org>2007-04-07 09:22:39 +0000
commit582c10fdfc74d1fcef04230983c679683d4d78ca (patch)
tree09b2b716009b4fbd728d4b796a331eca18c0572f /sutils
parent5d1862e109242434944d143a5ca540a8ee25cdd7 (diff)
2007-04-07 Thomas Schwinge <tschwinge@gnu.org>
* MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9]' devices.
Diffstat (limited to 'sutils')
-rw-r--r--sutils/ChangeLog4
-rw-r--r--sutils/MAKEDEV.sh4
2 files changed, 7 insertions, 1 deletions
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 <tschwinge@gnu.org>
+
+ * MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9' devices.
+
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* 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)