Creating and mounting files system in hindi

Linux mein file systems create (banaye) aur mount (jodhe) karne ke liye aapko mkfs aur mount commands ka istemal karna hota hai. Chaliye main aapko is prakriya ko step-by-step samjhata hoon:

Creating and mounting files system in hindi

1. File System Create in linux in hindi:

  1. Storage Device Check Karein:
    • Pehle to aapko yeh dekhna hoga ki aapke paas kaunsa storage device available hai, jaise ki ek hard drive, SSD, ya USB drive. Aap lsblk ya fdisk -l command se available storage devices ki list dekh sakte hain.
  2. Partition Create Karein (optional):
    • Agar aap ek naya partition create karna chahte hain, to fdisk ya parted jaise commands se partition create karen.
  3. File System Create Karein:
    • Ab, naye partition (ya existing partition) par ek file system create karen. Iske liye mkfs command ka istemal karen. For example, agar aap ek ext4 file system create karna chahte hain, to aap yeh command istemal karenge:
      sudo mkfs.ext4 /dev/sdX1
    • /dev/sdX1 ko partition ke device file ke saath replace karen. Yeh partition ka device file hota hai.

2. File System Mount in linux in hindi:

  1. Mount Point Banaye:
    • File system ko mount karne ke liye ek mount point create karen. Mount point ek directory hota hai jahan par aap file system ko attach karte hain.
    • For example, aap /mnt/mydrive directory ko mount point ke roop mein create kar sakte hain:
      sudo mkdir /mnt/mydrive
  2. File System Mount Karein:
    • Ab, file system ko mount karen. Iske liye mount command ka istemal karen. For example, agar aap /dev/sdX1 partition ko /mnt/mydrive mount point par mount karna chahte hain, to aap yeh command istemal karenge:
      sudo mount /dev/sdX1 /mnt/mydrive
  3. Automounting (Optional):
    • Agar aap chahate hain ki yeh file system har bar boot hone par automatically mount ho, to aap /etc/fstab file mein ek entry add karke automounting set kar sakte hain.

Is prakriya ke baad, aapka file system successfully create aur mount ho jayega. Ab aap uss file system par files aur directories create aur manage kar sakte hain. Dhyan rahe ki mount hui file system ko unmount karne ke liye umount command ka istemal kiya ja sakta hai.

Leave a Comment