Because I have a dual boot system(win11 + manjaro),
So I want to auto mount and don’t need to input password for windows disk partitions(NTFS, exfat, …)
For now, I need to click the partition n, and it will popup a dialog, hint you need the root password,
So I don’t want to do such trouble, how to automatically run this?
read the post
educate yourself how /etc/fstab works - or systemd-mount units
I’m sure you will find many, many examples if you start looking.
I don’t think so.
Whether you decide to use mount units or fstab that is a choice - but don’t use both for the same device - that will grind the gear.
Using Plasma - you will have kio installed - this mounts on demand using /run/media/$USER and - in case of ntfs or fat - do so with write access - but the /run tree is volatile - it is recreated at boot - so nothing survives over restarts.
If you require the devices mounted at predicatable locations - either a mount unit or fstab - in a predefined location e.g. /data/subfolder
If you only want not to type password when clicking in the file manager - look here
Otherwise, if you want the partition to be mounted on startup, as already written, consider fstab or systemd mount.
A good starting point is