Why nemo don’t see devices for mount?

|
alexmb7 2022-07-30 10:55:31
K11M1 2022-07-30 10:55:12
And was is the big problem anyway?

i begin to .c again is the story

alexmb7 2022-07-30 10:55:54
smol_mazunki 2022-07-30 10:55:13
so the gist is: “ask for 1024 bytes to read()… then check how much was copied, and then fwrite up to max(1024, how_much_was_read)”

some reads at least return how much they read

K11M1 2022-07-30 10:56:06
alexmb7 2022-07-30 10:55:31
i begin to .c again is the story

Cool

alexmb7 2022-07-30 10:56:10
i would NOT brother checking 10g of per loop at once
smol_mazunki 2022-07-30 10:56:11
probably something then like
alexmb7 2022-07-30 10:56:25
10g is normal size for awk
K11M1 2022-07-30 10:56:33
What’s 10g?
alexmb7 2022-07-30 10:56:37
K11M1 2022-07-30 10:56:06
Cool

i wanna do some kind of awk

alexmb7 2022-07-30 10:56:42
10 gigs of data
K11M1 2022-07-30 10:56:48
Oh 10gb
K11M1 2022-07-30 10:56:55
alexmb7 2022-07-30 10:56:37
i wanna do some kind of awk

Cool

K11M1 2022-07-30 10:57:21
You can run it in blocks of 4096 which was the usual size of page block
alexmb7 2022-07-30 10:57:49
then now i need
some if str comparation in loop maybe and then process next ( by comparation.assertation ) code for it
alexmb7 2022-07-30 10:58:16
K11M1 2022-07-30 10:57:21
You can run it in blocks of 4096 which was the usual size of page block

im looking for select than read

alexmb7 2022-07-30 10:58:22
i got much in my plans
smol_mazunki 2022-07-30 10:59:04
char buffer[1024];
int last_len;
do {
last_len = fread(buffer, sizeof(*buffer), 1024, stdin);
fwrite(buffer, sizeof(*buffer), 1024, stdout);
} while (last_len == 1024);
smol_mazunki 2022-07-30 10:59:12
maybe something like this
alexmb7 2022-07-30 10:59:28
nearly
alexmb7 2022-07-30 10:59:34
i must select ( )
alexmb7 2022-07-30 10:59:38
or smth
alexmb7 2022-07-30 10:59:48
i cant hang in read not ine
alexmb7 2022-07-30 10:59:49
one
alexmb7 2022-07-30 10:59:50
one b
smol_mazunki 2022-07-30 11:02:05
wym?
alexmb7 2022-07-30 11:02:38
stdin case of user
alexmb7 2022-07-30 11:03:33
u type data or code to the app
..

gotta react as early as possible

i was thinking, some select ( ) code
that feeds then into a separate storage thread

K11M1 2022-07-30 11:10:01
alexmb7 2022-07-30 10:58:16
im looking for select than read

I haven’t worked with that so gl

alexmb7 2022-07-30 11:10:29
kk thxx mate :))
smol_mazunki 2022-07-30 11:28:18
i have never used select for something like that
smol_mazunki 2022-07-30 11:28:26
i’ve been looking into wayland lately though
smol_mazunki 2022-07-30 11:28:28
it’s hard
alexmb7 2022-07-30 11:50:13
hm 🙂
japoj 2022-07-30 12:07:42
HI
why nemo don’t see devices for mount?
japoj 2022-07-30 12:26:40
HI
i have mountpoint where owner is user1
when i do sudo mount <device> <mountpoiint> owner changes to root. How to solve this?
sche91 2022-07-30 12:58:40
Hello. Is there any GUI app to control LPT pins?
|