KandZ – Tuts

We like to help…!

Linux CLI 27 ๐Ÿง mount and umount commands

a - mount options
mount allows you to control how filesystems are mounted/remounted on the system
mount โ†’ lists the file systems
mount -t ext โ†’ lists the ext4 file systems
mount -t btrfs โ†’ lists the btrfs file systems
-a โ†’ mounts all currently configured file systems (/etc/fstab)
-h โ†’ shows the help
-l โ†’ lists all the mounted file systems with detailed information
sudo mount -l โ†’ lists all the mounted file systems with detailed information
sudo fdisk -l โ†’ better way to see the devices

b - mount a device
To mount a device/drive:
Create a mount point, where do you want to be mounted
mkdir /media/usbA โ†’ creates a mount point
sudo fdisk -l โ†’ find the device the device
sudo mount /dev/sdc1 /media/usbA โ†’ mounts the sdc1 device to the mount point /media/usbA
Mount an ISO file:
mdkir /media/testISO
sudo mount /testFile.iso /media/testISO -o loop โ†’ -o loop mounts iso's date into a loop device

c - move a mount and unmount
mount --move /media/usbA /media/usbB โ†’ move the mount point /media/usbA to /media/usbB
umount is used to umount a previously mounted file system/device
-a โ†’ unmounts all filesystems/devices
-f โ†’ forces the unmount
To unmount a device:
sudo umount /media/usbA โ†’ unmounts what is mounted at /media/usbA

Stop using slow, ad-bloated tool sites! ๐Ÿคฎ

๐Ÿ”Ž Search “KandZ Tools” on Google to use many professional utilities for free.

KandZ.me is the ultimate minimalist hub for:
โœ… Finance (Mortgage, Interest, Inflation)
โœ… Tech (Base64, JSON, Dev Suite, IP)
โœ… Health (BMI, BMR, TDEE)
โœ… Productivity (Timer, Workspace, QR)

โšก๏ธ Fast & Private
๐Ÿ”’ No data leaves your device
๐Ÿ’Ž 100% Free

๐Ÿ”— Use it now: https://tools.kandz.me
๐Ÿ”– Bookmark itโ€”youโ€™ll need it later!

Leave a Reply