I use very minimal setup in my Linux Desktop.
I have different partitions for different purpose.
And I use shell script to mount these drive into conveniet directory structure so I can utilize them with my cli file manager conveniet way. Instead of standard mounting in /mnt
.
I used fancy names here for folder structure inspired by Harry Potter Universe You can use your own custom.
Script for mounting drives
#!/bin/bash
case "$1" in
floo)
sudo mount /dev/sda3 /storage/threebroomsticks &&
sudo mount /dev/sda4 /storage/Ilvermony &&
sudo mount /dev/sdb1 /storage/Hogsmead &&
sudo mount /dev/sdb2 /storage/Muzix &&
sudo mount /dev/sdb3 /storage/Castelobruxo &&
sudo mount /dev/sdb4 /storage/Hogwarts &&
notify-send "You got Access in:
🍻 Three broomsticks
🌲 Ilvermony
🏘 Hogsmead
🎼 Muzix
🏯 Castelobruxo
🧙 Hogwarts"
;;
flew)
sudo umount /dev/sda3 &&
sudo umount /dev/sda4 &&
sudo umount /dev/sdb1 &&
sudo umount /dev/sdb2 &&
sudo umount /dev/sdb3 &&
sudo umount /dev/sdb4 &&
notify-send "(Enjoy Holidays) Regards-
🍻 Three broomsticks
🌲 Ilvermony
🏘 Hogsmed
🎼 Muzix
🏯 Castelobruxo
🧙 Hogwarts"
;;
*)
notify-send "Do you want to floo in or flew out from portals" ;;
esac
So to mount all drive I use have to use file name and floo
argument and flew
argument to unmount