[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: Tumblr_l_1356001852554.jpg (828 KB, 1796x2048)
828 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 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/
>>
>>108644361
>mount
Yep. coombait was unavoidable on this one. You on the left, me on the right, 'nuff said.
>>
>>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
>>
How many of these syscall posts have you made already? I've been finding your posts intermittently for quite some time now
>>
>>108644729
Count the number of days elapsed so far, I guess.
Or search the archive. He's been making these very punctually everyday as far as I've followed them
>>
>>108644487
I gotchu.
>>
>umount
more like "uhmm sweaty device is busy" or just hanging without doing anything
>>
>>108646232
This is the syscall thread, it's more like returning EBUSY
>>
>>108644361
me on the left
>>108645249
me on the right
>>
>>108646352
Nah, it'll just block.
Which goes to show just how lobotomized kernel interfaces actually are.
>>
>>108646416
dam sun
>>
mount >>108644361 /page1
>>
>>108645249
me top right
>>108644759
i'm a girl btw
>>
>>108644361
I love Teto
>>
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?
>>
>>108649641
>but why is it so touchy anyway?
Mechanism over policy - i.e. userspace is responsible for anything because the kernel cannot be bothered.
>>
>>108648437
>i'm a girl btw
Don't care. I don't do gender discrimination here bro.
>>
I always type unmount or umount wrong a couple of times before I get it right.
>>
>>108650064
>I don't do gender discrimination here bro.
In other words:
>you're fucked either way
>>
>>108644361
I don't think I've ever invoked this one directly.
But I have used the wrapper user space programs a lot
>>
>>108650377
One of my biggest frustrations when starting linux was trying to figure out why "unmount" wasn't working.
Took me days to figure out the command was actually "umount".
>>
>>108650385
I don't fuck either. I dwell on blue boards for a reason.
>>
>>108651321
lol
>>
Why does nobody actually talk about the syscalls in these threads?
>>
for a board full of chuds you guys sure do love engaging with every thread this tranny makes to validate her identity
>>
>>108655001
What makes them tranny though.
>>
>>108654853
how many systems developers do you think browse this place
>>
>>108656402
he's probably retarded and thinks vocaloid = tranny
Teto is pretty transcoded tho, at least 3 out of 5 of her most popular English songs are from transgender producers
>>
>>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.
>>
>>108658928
She sure knows how to spike your cortisol.
>>
File: 1680718944899.png (36 KB, 497x617)
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.
>>
>>108659007
I'm not autistic enough for this shit.
>>
>>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.
>>
>>108658874
everyone knows tetoposters are agp. not to mention the art style.
>>
>>108659085
you don't know how a woman types?
>>
>>108654853
we're all larpers here, no bully. this is a larper safe space
>>
i think we should all be nice to one another ^_^
>>
File: 1726729365109912.jpg (135 KB, 512x384)
135 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....
>>
>>108651281
cute story:3
the reason is that the earliest UNIX assemblers only allowed for 6 significant characters in symbols (unmount is 7 chars long)
>>
>>108661985
... that almost sounds as stupid as many Windows files still being limited to 8 characters because of DOS compatibility (ntoskrnl.exe, msvcrt.dll, d3d8thk.dll ...)



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.