Thread #108644361
File: Tumblr_l_1356001852554.jpg (828.2 KB)
828.2 KB JPG
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 manman 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/
71 RepliesView Thread
>>
>>
>>108644454
i wish i had been able to find a good image of one of them actually mounting the other, but unfortunately i'm in a rush today
also teto is my spirit animal, but i must admit that i relate more to miku in this one
>>
>>
>>
File: fd4e37c4858035eb211c005292269232.jpg (295.1 KB)
295.1 KB JPG
>>108644487
I gotchu.
>>
>>
>>
>>108644361
me on the left
>>108645249
me on the right
>>
>>
>>
>>
>>108645249
me top right
>>108644759
i'm a girl btw
>>
>>
tangentially related, i'm making something, how would you always listen to udev add events and auto-mount?
>do it in main script, make script concurrent or threaded, use udev library in the lang
>do it with a udev rule in /etc/udev/rules.d/
udev events seem finnicky as hell. i plugged something in with a custom rule that printed 1 line to a file, and the file had like 20 lines. with a udev library (pyudev for example) you can check for an "add", and just set a flag, and then have something happen based on the state of that flag, so a billon events dont do the thing a billion times.
but why is it so touchy anyway?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>108658874
No the person who makes these threads calls themselves a girl >>108648437 and posts memes only a tranny would post (ie pegging memes where both participants appear female). OP is just lonely and needs a gf and sadly the groomers got to him.
>>
>>
File: 1680718944899.png (36 KB)
36 KB PNG
>>108656402
browse /g/ for a week, take note or even save the OP pics that they post, then once that week is over you open those pics on your 2nd monitor or print them out, and start going board through board and do a cross examination. Look for the board that most closely matches the themes and ideas conveyed through OPs pics. Also if you wanna skip that just enter the threads and see how OP responds to people engaging with them, it's always in that stereotypical bubbly feminine personality most closely associated with someone trying to roleplay a female. If you ever played an mmo you've come across it tons of times.
>>
>>
>>108656402
>>108659085
I'm pretty sure OP admitted to being trans in one of the early threads but I cba to look into the archives.
>>108658950
Would be pretty funny if it's a woman pretending to be trans just to screw with us.
>>
>>
>>
>>
>>
File: 1726729365109912.jpg (134.6 KB)
134.6 KB JPG
>>108661758
I don't.
>>
>>108661758
>>108644361
You very beautiful woman. My wife.
>>
>>108661856
i am indeed quite cute :3c
>>108661846
wah, so mean....
>>
>>
>>
>>108662316
It's the reason many libc and syscalls are so aggressively abbreviated: creat, strchr, strspn etc.
and why variants of these functions feature single characters at the beginning or in the middle instead of where you'd expect them from a normal abbreviation
strncpy, strcspn, strpbrk, vsnprintf etc.
>>
File: 1732561849027389.jpg (105.3 KB)
105.3 KB JPG
>>108644361
I am starting to think like a half of essential binaries are just wrappers around the syscalls with the same name
>>
>>
>>
>>
>>108663025
this is the level of genius that permeates this thread
>>108662620
congrats on having learnt first year university level trivia, retard
>>
>>
>>
>>
>>
>>
>>108646416
Bitching about things made with educated, defensible tradeoffs and how they square up to alternative solutions, makes you look smart to ignorants but an egotistical retard to anyone who knows the history behind these decisions.
>>
>>
>>
>>
>>108665933
>>108665929
autistic
>>
>>
>>108666793
>>108666818
>two autists next to one other
I have yet to hear good arguments why autists shouldn't be banned from the internet like sex offenders. They're certainly not adding to it.
>>
>>
>>
>>
>>
>>
>>
>>
>>