Summary of "L-1.7: System Calls in Operating system and its types in Hindi"

Summary of "L-1.7: System Calls in Operating System and Its Types in Hindi"

This video explains the concept of system calls in operating systems, their purpose, and their types. It is presented in Hindi and primarily targets students preparing for competitive exams like GATE.


Main Ideas and Concepts

Categories of System Calls

  1. File-related System Calls:
    • Used to create, open, read, write, and close files.
    • Example: When a program runs, it becomes a process in RAM and accesses files via system calls because the process itself lacks direct privileges.
  2. Device-related System Calls:
    • For accessing hardware devices like printers, monitors, hard disks.
    • User processes cannot access hardware directly; they must request permission through system calls.
    • Includes operations like reading/writing devices and controlling them (e.g., using ioctl).
  3. Information-related System Calls:
    • Retrieve metadata or attributes of processes and files.
    • Examples:
      • getpid() – get process ID
      • getppid() – get parent process ID
      • Access system time, date, or device information.
  4. Process Control System Calls:
    • Manage processes: creation, execution, termination.
    • Example: fork()() creates a child process, enabling multiprocessing.
    • Includes synchronization calls like wait() and signal handling.
    • Used for memory allocation and managing semaphores.
  5. Communication-related System Calls:
    • Facilitate inter-process communication (IPC).
    • Methods include pipes (pipe()), shared memory (shmget()), and connection management.
  6. Protection and Security System Calls:
    • Manage file permissions and security.
    • Examples: chmod()() to change file permissions, umask() for default permission settings.

Important Lessons

Speakers / Sources

Category ?

Educational

Share this summary

Video