previous: >>108639567
#define __NR_mount 165
#define __NR_umount2 166
https://man7.org/linux/man-pages/man2/mount.2.html
https://man7.org/linux/man-pages/man2/umount.2.html
tl;dr:
manage filesystems
another scary filesystem call... i'm at least a little bit more comfortable with these, though. just because i've been forced to interact with them enough that i've become a bit more familiar over time. i like bind mounting a lot. i think it's a really interesting concept. the expire and detach flags for umount2 are also quite interesting
do you ever use any of these flags? or are plain old mount/umount usually good enough for you?
relevant resources:
man man
man syscalls
https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/