Page MenuHomeFreeBSD

linprocfs(5): Add rudimentary /proc/<pid>/mountinfo
ClosedPublic

Authored by cem on Nov 7 2020, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 8:35 AM
Unknown Object (File)
Fri, Nov 29, 3:49 PM
Unknown Object (File)
Oct 20 2024, 1:04 PM
Unknown Object (File)
Oct 20 2024, 1:04 PM
Unknown Object (File)
Oct 20 2024, 1:04 PM
Unknown Object (File)
Oct 20 2024, 12:41 PM
Unknown Object (File)
Oct 5 2024, 8:54 PM
Unknown Object (File)
Oct 5 2024, 8:45 PM
Subscribers

Details

Test Plan
bash-4.2# cat /proc/self/mountinfo
1388812341 0 0:0 / / rw,noatime - ufs /dev/gpt/rootfs rw
...
1895890805 0 0:0 / /dev rw - devfs devfs rw
3036741552 0 0:0 / /proc rw - proc proc rw
2315321228 0 0:0 / /sys rw - sysfs /sys rw
2264989568 0 0:0 / /dev/shm rw - tmpfs tmpfs rw
1493237585 0 0:0 / /dev/fd rw - fdescfs fdescfs rw
687931168 0 0:0 / /tmp rw,noatime - nullfs /tmp rw
687931171 0 0:0 / /home rw,noatime - nullfs /usr/home rw
687931170 0 0:0 / /root rw,noatime - nullfs /root/linux-root rw

Combined with D27111 :

bash-4.2# /opt/name_to_handle/t_name_to_handle_at test.txt > fh
bash-4.2# /opt/name_to_handle/t_open_by_handle_at < fh
Read 6 bytes

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cem requested review of this revision.Nov 7 2020, 7:38 PM
cem created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Nov 17 2020, 7:57 PM
This revision was automatically updated to reflect the committed changes.