Bug#1108605: hurd: fails to setup console and stdin/out/err

Samuel Thibault <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Organization I am not organized
Message-ID <aKoj7xFrE5QJyURW__7184.99542433477$1755980854$gmane$org@begin>
Stéphane Glondu, le sam. 23 août 2025 12:55:53 +0200, a ecrit:
> Ah, OK. Then isn't simply adding -T to ln enough?
> 
> Attached is an updated patch.

It seems to be doing it, applied, thanks!

> From 43bc9b8f4aaf540f83b998a715f5889160dae744 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?St=C3=A9phane=20Glondu?= <[email protected]>
> Date: Sat, 23 Aug 2025 10:42:51 +0100
> Subject: [PATCH] Do not fail if std{in,out,err} exist in MAKEDEV (Closes:
>  #1108605)
> 
> ---
>  sutils/MAKEDEV.sh | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
> index 637c156..c664259 100644
> --- a/sutils/MAKEDEV.sh
> +++ b/sutils/MAKEDEV.sh
> @@ -149,9 +149,9 @@ mkdev() {
>  	st $I root 666 c /hurd/magic tty;;
>        fd)
>  	st $I root 666 d /hurd/magic --directory fd
> -	cmd ln -f -s fd/0 stdin
> -	cmd ln -f -s fd/1 stdout
> -	cmd ln -f -s fd/2 stderr
> +	cmd ln -f -s -T fd/0 stdin
> +	cmd ln -f -s -T fd/1 stdout
> +	cmd ln -f -s -T fd/2 stderr
>  	;;
>        'time')
>  	st $I root 644 c /hurd/storeio --no-cache time ;;
> -- 
> 2.50.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.