To view the current mount order, use the hcl devorder print command. For example:
# hcl devorder print Disk | Path | Clear | Cipher | auto_attach | mntpt | mntopts -------------------------------------------------------------------------------- sdb1 | /dev/sdb1 | /dev/mapper/clear_sdb1 | AES-XTS-512 | ENABLED | my_mountpoint | -t ext4 -o ro,noatime sdb4 | /dev/sdb4 | /dev/mapper/clear_sdb4 | AES-XTS-512 | ENABLED | mount4 | -o rw sdc3 | /dev/sdc3 | /dev/mapper/clear_sdc3 | AES-XTS-512 | ENABLED | |
To change the mount order, use the hcl devorder up|down diskname command, where diskname is the short form of the device name and up or down moves the device one position in the specified direction. For example, to move sdc3 to the top of the list, you need to use the devorder up sdc3 command twice:
# hcl devorder up sdc3 Device re-order: move device sdc3 UP Successfully changed order of device sdc3 # hcl devorder up sdc3 Device re-order: move device sdc3 UP Successfully changed order of device sdc3 # hcl devorder print Disk | Path | Clear | Cipher | auto_attach | mntpt | mntopts -------------------------------------------------------------------------------- sdc3 | /dev/sdc3 | /dev/mapper/clear_sdc3 | AES-XTS-512 | ENABLED | | sdb1 | /dev/sdb1 | /dev/mapper/clear_sdb1 | AES-XTS-512 | ENABLED | my_mountpoint | -t ext4 -o ro,noatime sdb4 | /dev/sdb4 | /dev/mapper/clear_sdb4 | AES-XTS-512 | ENABLED | mount4 | -o rw