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)
Mon, Jan 20, 12:36 AM
Unknown Object (File)
Mon, Jan 20, 12:34 AM
Unknown Object (File)
Mon, Jan 20, 12:32 AM
Unknown Object (File)
Mon, Jan 20, 12:28 AM
Unknown Object (File)
Sun, Jan 19, 2:19 AM
Unknown Object (File)
Mon, Jan 6, 10:28 PM
Unknown Object (File)
Sun, Dec 29, 3:34 PM
Unknown Object (File)
Dec 11 2024, 8:35 AM
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.