Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fdesc weirdness with /dev/stdin: Device not configured



$ echo a >xx
$ sort /dev/stdin <xx
a
$ sudo mount fdesc
$ sort /dev/stdin <xx
sort: /dev/stdin: Device not configured

$ ls -l /dev/stdin
lr-xr-xr-x  1 root  wheel  4 Apr  9 15:15 /dev/stdin@ -> fd/0
murthe.7:/tmp$ ls -l /dev/fd/
total 16
crw--w----   1 rhialto  tty    5, 15 Apr 13 17:56 0
crw--w----   1 rhialto  tty    5, 15 Apr 13 17:56 1
crw--w----   1 rhialto  tty    5, 15 Apr 13 17:56 2
drw-rw-rwT  85 root     wheel  15872 Apr 13 17:56 3/
dr--r--r--   2 root     wheel    512 Apr  9 15:15 4/

This is with 9.0 but I think the behaviour started in 8.0.
(cat </dev/stdin is doing the same, it seems to affect /dev/stdin in
general)

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index