Help Me :The usbdisk is recognized but cannot be mounted automatically

I installed the Sway desktop system from the community, but the usbdisk cannot be automatically mounted after it is recognized.

The system information is as follows :
cat /etc/os-release

NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

The command "lsblk " displays the following:

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    1 115.6G  0 disk 
└─sda1        8:1    1 115.6G  0 part /mnt
nvme0n1     259:0    0 476.9G  0 disk 
├─nvme0n1p1 259:1    0  1000M  0 part /efi
├─nvme0n1p2 259:2    0   100G  0 part /
├─nvme0n1p3 259:3    0   200G  0 part /home
├─nvme0n1p4 259:4    0 167.9G  0 part /opt
└─nvme0n1p5 259:5    0     8G  0 part 

sway is not a full Desktop… you will need to setup to your needs in case you want it to act in certain ways…
And you should give some more info about your actual issue with mounting USB drive.
And indeed welcome here :enos:

2 Likes

I forgot to say just now that /dev/sda1 is automatically mounted by me, and the files in the directory can also be read normally.

Thank you, I’ll try it

You can achieve automounting with a tool called udiskie, which is a python front-end for udisks2; I think that latter comes pre-installed with EOS.

Personally, I handle my block devices with the standard linux utils: mount and umount.

An alternative would be to use the udisksctl command, which talks to the udisks2 daemon.

2 Likes

Thank you, You are right,I’ve solved it.
Actually I didn’t enable udisks2 :joy:

sudo pacman -S udisks2 udiskie ntfs-3g
sudo systemctl enable  udisks2 

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.