Message351358
> FreeBSD has a similar concept using /dev/fd "file-descriptor file system". (...) I'm not sure how it is supposed to work.
Sadly, on my FreeBSD VM, it seems like /dev/fd/ is not mounted with fdescfs by default, but as a regular directory with 3 hardcoded files 0, 1 and 2 which are character devices.
I had to mount fdescfs filesystem manually at /dev/fd/ :-(
$ cat /etc/fstab
# Custom /etc/fstab for FreeBSD VM images
/dev/gpt/rootfs / ufs rw 1 1
/dev/gpt/swapfs none swap sw 0 0
Maybe it's an issue with "FreeBSD VM images" that I chose.
--
The FreeBSD CURRENT buildbot worker mounts /dev/fd:
CURRENT-amd64% cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/da0p2 none swap sw 0 0
/dev/da0p3 / ufs rw 1 1
fdescfs /dev/fd fdescfs rw 0 0
CURRENT-amd64% mount|grep fd
fdescfs on /dev/fd (fdescfs) |
|
Date |
User |
Action |
Args |
2019-09-09 08:33:37 | vstinner | set | recipients:
+ vstinner, koobs |
2019-09-09 08:33:37 | vstinner | set | messageid: <1568018017.02.0.0787122527223.issue38061@roundup.psfhosted.org> |
2019-09-09 08:33:37 | vstinner | link | issue38061 messages |
2019-09-09 08:33:36 | vstinner | create | |
|