You are not logged in.

#1 2021-07-18 14:23:01

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Auto mounting hard disk partition without fstab

Is there anyway to mount without adding manually /etc/fstab?
I already have installed udisk2 and udiskie its auto mounting pendrive external hard disk ,ssd perfectly ...
But how can i auto mount partition without editing /etc/fstab?

Offline

#2 2021-07-21 18:05:18

buzzwallard
Banned
Registered: 2021-05-29
Posts: 53

Re: Auto mounting hard disk partition without fstab

You can create a systemd mount service https://man.archlinux.org/man/systemd.mount.5.en

Offline

#3 2021-07-21 18:36:24

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,465

Re: Auto mounting hard disk partition without fstab

automount when?
removable drives are automounted by udisks when they are connected, but what is condition for automounting partition? They are already there, either you mount them automatically at boot using fstab or you mount them manually when you need them, but udisks wouldn't know when you need them.

I hope we are not confusing auto / manual with each other. In that case you can use "mount" command to mount the partitions when you need.

Last edited by Docbroke (2021-07-21 18:52:37)

Offline

#4 2021-07-25 18:42:21

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: Auto mounting hard disk partition without fstab

Sorry for confusion i tryped wrong
Actually external ssd mounting if i do restart. But if i plug in when i am inside my operating system it didn't work.. pendrive is working fine.. not sure about Android mounting .. didn't checkd

Offline

Board footer

Powered by FluxBB