diff options
-rw-r--r-- | sutils/ChangeLog | 4 | ||||
-rw-r--r-- | sutils/MAKEDEV.sh | 4 |
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) |