Summary: | fdescfs(5) man page: Fix examples for fstab(5) and mount(8) command | ||||||
---|---|---|---|---|---|---|---|
Product: | Documentation | Reporter: | Ben Woods <woodsb02> | ||||
Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> | ||||
Status: | Closed Not A Bug | ||||||
Severity: | Affects Only Me | CC: | maxim, mpp, pluknet, woodsb02 | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://forums.freebsd.org/threads/50214/#post-319005 | ||||||
Attachments: |
|
Description
Ben Woods
2016-05-03 11:01:26 UTC
Has anyone got time to look at this minor manpage fix? (In reply to Ben Woods from comment #1) Why? It works just fine for me currently: # mount | grep fd # mount -t fdescfs null /dev/fd # mount | grep fd fdescfs on /dev/fd (fdescfs) # umount /dev/fd # grep dev/fd /etc/fstab fdescfs /dev/fd fdescfs rw 0 0 # mount /dev/fd # mount | grep fd fdescfs on /dev/fd (fdescfs) Synthetic filesystems, such as nullfs and fdescfs, ignore the mount "from" option so that it looks correct. I barely think that there is anything to fix. Agreed. Indeed, the mount command ignores the fs_spec field whether it was determined from fstab(5) or from the command line directly. $ mount | grep fd $ sudo mount -t fdescfs wildgoosechase /dev/fd $ mount | grep fd fdescfs on /dev/fd (fdescfs) $ sudo umount /dev/fd $ grep fd /etc/fstab wildgoosechase /dev/fd fdescfs rw 0 0 $ sudo mount /dev/fd $ mount | grep fd fdescfs on /dev/fd (fdescfs) $ sudo umount /dev/fd Sorry for the noise. Agree there is nothing to fix. |