mount / unmount media

Mount media

# mount type mediadir

Arguments are

type : here define device path
media dir : In which directory you want to mount

example # mount /dev/sdb1 bagga

To unmount

sudo umount /dev/sdb1

Alternative of mount command is udisks

Mount media

udisks --mount /dev/path

Unmount media

udisks --unmount /dev/path

Leave a Reply

Your email address will not be published. Required fields are marked *