For my own reference: File descriptor is a int that store the id of file, so that we can access that later. This is store in a vnode table, that we can access using ulimit -a command. Now, we can use the output of one program, from standard input and send it to standard output. Or we can do vice versa.
It's an index in a file descriptor table. A file descriptor table (FDT) is a list that keeps track of files created or used by the process. FDT is a list of pointers (pointers to `file` struct) that point to entry in the Open File Table (OFT). OFT contains entries for every currently open file or resource across all processes including file offsets and pointers to vnodes. The vnode table holds information about files and directories. FDT is per-process while OFT and vnode table are system-wide and shared across processes.
May Allah bless you, I've been thinking about doing some system programming for a while now. Thanks to you, I think I'm motivated enough to jump in. I hope you will publish more videos like this in near future :) Thank you
@Chris Thanks for this video. I need a help, So, I want to see the output of a running process (a .sh script with echo statement). When I went inside the /proc//fd, and run tail -f 1, no output were seen, then I tried ls -l, I see file discriptor is linked to pipe :[XXXXXX]. Not sure what it means? And how I can see the output of fd 1 of this process
But if you spawn a process on the output side of the pipe, what if it tries to read before the process on the input side of the pipe finishes? I assume it waits until there's something to read?
I like your teaching style, super detailed with hand-on example
Very productive 20 mins. This video deserves more views than 1K.
For my own reference:
File descriptor is a int that store the id of file, so that we can access that later. This is store in a vnode table, that we can access using ulimit -a command. Now, we can use the output of one program, from standard input and send it to standard output. Or we can do vice versa.
It's an index in a file descriptor table. A file descriptor table (FDT) is a list that keeps track of files created or used by the process. FDT is a list of pointers (pointers to `file` struct) that point to entry in the Open File Table (OFT).
OFT contains entries for every currently open file or resource across all processes including file offsets and pointers to vnodes. The vnode table holds information about files and directories.
FDT is per-process while OFT and vnode table are system-wide and shared across processes.
such a seemless & to the point explanation.
Thanks : )
Thank you for posting these vids. Been a great help in my self education
Hi there, the lecture/study material is good.
Awesome explanation, thank you!!
May Allah bless you, I've been thinking about doing some system programming for a while now. Thanks to you, I think I'm motivated enough to jump in. I hope you will publish more videos like this in near future :) Thank you
Im joining now😂😂
How was your journey?
@@6srer learned a lot. Worth watching.
Thanks a lot for your explanation
Great great explanation
You're an awesome teacher
Thanks... I learn something new today
Is there a way to get these assignments and the rest of the lectures? Im really interested in this topic.
Thanks that was super clear
What a king
thanks for this.
Great lecture! I'm wondering why is spawning subprocesses for ulimit and wc here?
very helpful
great!
@Chris Thanks for this video. I need a help, So, I want to see the output of a running process (a .sh script with echo statement). When I went inside the /proc//fd, and run tail -f 1, no output were seen, then I tried ls -l, I see file discriptor is linked to pipe :[XXXXXX]. Not sure what it means? And how I can see the output of fd 1 of this process
But if you spawn a process on the output side of the pipe, what if it tries to read before the process on the input side of the pipe finishes? I assume it waits until there's something to read?
What is 361?
Could anyone find these slides?
Is v-node the same as i-node
+1
> Talks about Linux
> Is on Windows
mfw
Меня укачало
Girlirntn
I don't trust this man, guess why
why?