Categories
Tips & Tricks

Mount disk using command line with udisksctl

Firstly, determine the disk partition you intend to use. Below command will list all available partition by label.

ls /dev/disk/by-label

Mount the partition (for a block device, please use argument ‘-b’):

udisksctl mount -b /dev/disk/by-label/your_partition_label

You will be asked for authentication when execute above command.

Please read the manpage for more information.

Leave a Reply