I like udisksctl because
- you don't have to specify the mountpoint.
- you don't need superuser access.
Well, as far as I know, udisksctl is only for local block devices. So is there some tool which combines udisksctl with something like sshfs?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityI found this tool called udevil
which is kind of promising. Along with the above, it seems to handle ftp and samba shares as well. I haven't tested it much though.
sshfs
?fstab
withsshfs
if you want to avoid setting it each time. As for ownership, could you explain what you mean? Ownership will always be complex if you're mounting a remote drive. Please edit your question and explain what features/behaviors you need from this./media
or somewhere under/run
. But the mountpoint is configured one way or another, you just don't need to do it as a regular user. But I still don't understand what you want. So please edit your question and describe what the expected behavior would be. When should the remote drive be mounted? You're probably looking for one or more of sshaf+fstab or autofs, but we need to understand what behavior you're expecting first.