ti 1.7.2025 klo 12.38 Samuel Thibault ([email protected]) kirjoitti: > > Hello, > > Martin-Éric Racine, le mar. 01 juil. 2025 12:07:56 +0300, a ecrit: > > ln: failed to access 'stdin/0': Not a directory > > ln: failed to access 'stdout/1': Not a directory > > ln: failed to access 'stderr/2': Not a directory > > This is because > > cmd ln -f -s fd/0 stdin > > does not take care of the case when /dev/stdin already exist. This > doesn't have any consequence, but could be fixed by checking whether the > symlink already exists.
Still not fixed as of Hurd 1:0.9.git20250801-3. $ ls -al stdin stdout stderr lrwxrwxrwx 1 root root 4 2025-05-01 21:11 stderr -> fd/2 lrwxrwxrwx 1 root root 4 2025-05-01 21:11 stdin -> fd/0 lrwxrwxrwx 1 root root 4 2025-05-01 21:11 stdout -> fd/1 It really should ship with a script to normalize this as needed. $ sudo LC_ALL=C dpkg-reconfigure hurd update-alternatives: warning: forcing reinstallation of alternative /usr/bin/w-hurd because link group w is broken update-alternatives: warning: not replacing /usr/bin/w with a link Restarting Hurd console multiplexer: hurd-console. Setting up translators: /hurd/exec /hurd/proxy-defpager /hurd/pflocal (+link) inet (+link) inet6 (+link) /hurd/pci-arbiter /hurd/acpi /hurd/shutdown /hurd/password crash-kill crash-suspend crash-dump-core crash. Creating device nodes: fdln: failed to access 'stdin/0': Not a directory ln: failed to access 'stdout/1': Not a directory ln: failed to access 'stderr/2': Not a directory fdX stdsettrans: console: Device or resource busy ln: failed to access 'stdin/0': Not a directory ln: failed to access 'stdout/1': Not a directory ln: failed to access 'stderr/2': Not a directory vcs hdX hdXsY hdXs1Y sdX sdXsY sdXs1Y rumpdisk wdX wdXsY wdXs1Y rumpusbdisk udX udXsY udXs1Y cdX ucdX/sbin/MAKEDEV: ucd0: Invalid device name: must supply a device number netdde ethX pseudo-root rtc loopX ttyX ptyp ptyq lprX comX random urandom kbd mouse shm. Martin-Éric

