Linux Mint: Automount package/options how to find on computer and change

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
When I plug flashdrive it gets automounted. Upon web searching I found only two ways it's done in Linux: autofs and using systemd.
E.g. rather recent (2017) post: systemd-automount-vs-autofs
However, I could not find neither autofs installed nor file /etc/systemd/system/mnt-scratch.automount (no files with auto in /etc/systemd).
/etc/fstab also does not have any info on automount, just fixed filesystems.
I want to change options of file system being automounted like in fstab. How to find out how automouting is done and change options?
P.S. I'm using Linux Mint now but knowing more general way to do the task is preferred.
linux-mint filesystems
add a comment |Â
up vote
0
down vote
favorite
When I plug flashdrive it gets automounted. Upon web searching I found only two ways it's done in Linux: autofs and using systemd.
E.g. rather recent (2017) post: systemd-automount-vs-autofs
However, I could not find neither autofs installed nor file /etc/systemd/system/mnt-scratch.automount (no files with auto in /etc/systemd).
/etc/fstab also does not have any info on automount, just fixed filesystems.
I want to change options of file system being automounted like in fstab. How to find out how automouting is done and change options?
P.S. I'm using Linux Mint now but knowing more general way to do the task is preferred.
linux-mint filesystems
1
I've always just done it in Disks.
â Ignacio Vazquez-Abrams
Mar 31 at 22:32
@Ignacio Vazquez-Abrams, thank you I can do that after inserting particular USB-stick. My confusion was initially bacause I could not change options for SD-card reader (and still don't know how), but for ordinary USB it works.
â Alexei Martianov
Apr 1 at 15:43
You can't do it for the adapter, you have to do it for the media.
â Ignacio Vazquez-Abrams
Apr 1 at 15:53
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I plug flashdrive it gets automounted. Upon web searching I found only two ways it's done in Linux: autofs and using systemd.
E.g. rather recent (2017) post: systemd-automount-vs-autofs
However, I could not find neither autofs installed nor file /etc/systemd/system/mnt-scratch.automount (no files with auto in /etc/systemd).
/etc/fstab also does not have any info on automount, just fixed filesystems.
I want to change options of file system being automounted like in fstab. How to find out how automouting is done and change options?
P.S. I'm using Linux Mint now but knowing more general way to do the task is preferred.
linux-mint filesystems
When I plug flashdrive it gets automounted. Upon web searching I found only two ways it's done in Linux: autofs and using systemd.
E.g. rather recent (2017) post: systemd-automount-vs-autofs
However, I could not find neither autofs installed nor file /etc/systemd/system/mnt-scratch.automount (no files with auto in /etc/systemd).
/etc/fstab also does not have any info on automount, just fixed filesystems.
I want to change options of file system being automounted like in fstab. How to find out how automouting is done and change options?
P.S. I'm using Linux Mint now but knowing more general way to do the task is preferred.
linux-mint filesystems
edited Apr 1 at 16:15
Yurij Goncharuk
2,2582521
2,2582521
asked Mar 31 at 22:28
Alexei Martianov
23211
23211
1
I've always just done it in Disks.
â Ignacio Vazquez-Abrams
Mar 31 at 22:32
@Ignacio Vazquez-Abrams, thank you I can do that after inserting particular USB-stick. My confusion was initially bacause I could not change options for SD-card reader (and still don't know how), but for ordinary USB it works.
â Alexei Martianov
Apr 1 at 15:43
You can't do it for the adapter, you have to do it for the media.
â Ignacio Vazquez-Abrams
Apr 1 at 15:53
add a comment |Â
1
I've always just done it in Disks.
â Ignacio Vazquez-Abrams
Mar 31 at 22:32
@Ignacio Vazquez-Abrams, thank you I can do that after inserting particular USB-stick. My confusion was initially bacause I could not change options for SD-card reader (and still don't know how), but for ordinary USB it works.
â Alexei Martianov
Apr 1 at 15:43
You can't do it for the adapter, you have to do it for the media.
â Ignacio Vazquez-Abrams
Apr 1 at 15:53
1
1
I've always just done it in Disks.
â Ignacio Vazquez-Abrams
Mar 31 at 22:32
I've always just done it in Disks.
â Ignacio Vazquez-Abrams
Mar 31 at 22:32
@Ignacio Vazquez-Abrams, thank you I can do that after inserting particular USB-stick. My confusion was initially bacause I could not change options for SD-card reader (and still don't know how), but for ordinary USB it works.
â Alexei Martianov
Apr 1 at 15:43
@Ignacio Vazquez-Abrams, thank you I can do that after inserting particular USB-stick. My confusion was initially bacause I could not change options for SD-card reader (and still don't know how), but for ordinary USB it works.
â Alexei Martianov
Apr 1 at 15:43
You can't do it for the adapter, you have to do it for the media.
â Ignacio Vazquez-Abrams
Apr 1 at 15:53
You can't do it for the adapter, you have to do it for the media.
â Ignacio Vazquez-Abrams
Apr 1 at 15:53
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
In Linux Mint udisks2.service exists is intended for monitoring disks. Also it does automount for new plugged disks. Just disable it:
systemctl stop udisks2.service
Then you will be mount disks partitions by hand.
Disable autostart (over systemctl disable udisks2.service) if you want disable it for further boots.
Interestingly starting Disks startsudisks2.service. Never played withsystemctl disablebefore - command wrote nothing, enable command wrotecreated symlink, disabling again wroteremoved symlink- why different output ofdisablethan first time?
â Alexei Martianov
Apr 1 at 15:55
It seems service was not enabled. Is automount capability exists when you disabled (stop before) service?
â Yurij Goncharuk
Apr 1 at 16:55
Computer did automounting, udisks2 was loaded and active (I didsystemctl -abefore doing actions) and I have not played with it before, After your post I first stopped it then disabled. Now doing in sequence enabling, start, stop and disabling writesremoved sysmlinkon disabling step.
â Alexei Martianov
Apr 2 at 4:41
What type of FS have you mounted? ForfatFScodepage=andioscharset=options exists. ForntfsFS onlyiocharset=exists.
â Yurij Goncharuk
Apr 8 at 13:49
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
In Linux Mint udisks2.service exists is intended for monitoring disks. Also it does automount for new plugged disks. Just disable it:
systemctl stop udisks2.service
Then you will be mount disks partitions by hand.
Disable autostart (over systemctl disable udisks2.service) if you want disable it for further boots.
Interestingly starting Disks startsudisks2.service. Never played withsystemctl disablebefore - command wrote nothing, enable command wrotecreated symlink, disabling again wroteremoved symlink- why different output ofdisablethan first time?
â Alexei Martianov
Apr 1 at 15:55
It seems service was not enabled. Is automount capability exists when you disabled (stop before) service?
â Yurij Goncharuk
Apr 1 at 16:55
Computer did automounting, udisks2 was loaded and active (I didsystemctl -abefore doing actions) and I have not played with it before, After your post I first stopped it then disabled. Now doing in sequence enabling, start, stop and disabling writesremoved sysmlinkon disabling step.
â Alexei Martianov
Apr 2 at 4:41
What type of FS have you mounted? ForfatFScodepage=andioscharset=options exists. ForntfsFS onlyiocharset=exists.
â Yurij Goncharuk
Apr 8 at 13:49
add a comment |Â
up vote
1
down vote
In Linux Mint udisks2.service exists is intended for monitoring disks. Also it does automount for new plugged disks. Just disable it:
systemctl stop udisks2.service
Then you will be mount disks partitions by hand.
Disable autostart (over systemctl disable udisks2.service) if you want disable it for further boots.
Interestingly starting Disks startsudisks2.service. Never played withsystemctl disablebefore - command wrote nothing, enable command wrotecreated symlink, disabling again wroteremoved symlink- why different output ofdisablethan first time?
â Alexei Martianov
Apr 1 at 15:55
It seems service was not enabled. Is automount capability exists when you disabled (stop before) service?
â Yurij Goncharuk
Apr 1 at 16:55
Computer did automounting, udisks2 was loaded and active (I didsystemctl -abefore doing actions) and I have not played with it before, After your post I first stopped it then disabled. Now doing in sequence enabling, start, stop and disabling writesremoved sysmlinkon disabling step.
â Alexei Martianov
Apr 2 at 4:41
What type of FS have you mounted? ForfatFScodepage=andioscharset=options exists. ForntfsFS onlyiocharset=exists.
â Yurij Goncharuk
Apr 8 at 13:49
add a comment |Â
up vote
1
down vote
up vote
1
down vote
In Linux Mint udisks2.service exists is intended for monitoring disks. Also it does automount for new plugged disks. Just disable it:
systemctl stop udisks2.service
Then you will be mount disks partitions by hand.
Disable autostart (over systemctl disable udisks2.service) if you want disable it for further boots.
In Linux Mint udisks2.service exists is intended for monitoring disks. Also it does automount for new plugged disks. Just disable it:
systemctl stop udisks2.service
Then you will be mount disks partitions by hand.
Disable autostart (over systemctl disable udisks2.service) if you want disable it for further boots.
answered Apr 1 at 12:29
Yurij Goncharuk
2,2582521
2,2582521
Interestingly starting Disks startsudisks2.service. Never played withsystemctl disablebefore - command wrote nothing, enable command wrotecreated symlink, disabling again wroteremoved symlink- why different output ofdisablethan first time?
â Alexei Martianov
Apr 1 at 15:55
It seems service was not enabled. Is automount capability exists when you disabled (stop before) service?
â Yurij Goncharuk
Apr 1 at 16:55
Computer did automounting, udisks2 was loaded and active (I didsystemctl -abefore doing actions) and I have not played with it before, After your post I first stopped it then disabled. Now doing in sequence enabling, start, stop and disabling writesremoved sysmlinkon disabling step.
â Alexei Martianov
Apr 2 at 4:41
What type of FS have you mounted? ForfatFScodepage=andioscharset=options exists. ForntfsFS onlyiocharset=exists.
â Yurij Goncharuk
Apr 8 at 13:49
add a comment |Â
Interestingly starting Disks startsudisks2.service. Never played withsystemctl disablebefore - command wrote nothing, enable command wrotecreated symlink, disabling again wroteremoved symlink- why different output ofdisablethan first time?
â Alexei Martianov
Apr 1 at 15:55
It seems service was not enabled. Is automount capability exists when you disabled (stop before) service?
â Yurij Goncharuk
Apr 1 at 16:55
Computer did automounting, udisks2 was loaded and active (I didsystemctl -abefore doing actions) and I have not played with it before, After your post I first stopped it then disabled. Now doing in sequence enabling, start, stop and disabling writesremoved sysmlinkon disabling step.
â Alexei Martianov
Apr 2 at 4:41
What type of FS have you mounted? ForfatFScodepage=andioscharset=options exists. ForntfsFS onlyiocharset=exists.
â Yurij Goncharuk
Apr 8 at 13:49
Interestingly starting Disks starts
udisks2.service. Never played with systemctl disable before - command wrote nothing, enable command wrote created symlink, disabling again wrote removed symlink - why different output of disable than first time?â Alexei Martianov
Apr 1 at 15:55
Interestingly starting Disks starts
udisks2.service. Never played with systemctl disable before - command wrote nothing, enable command wrote created symlink, disabling again wrote removed symlink - why different output of disable than first time?â Alexei Martianov
Apr 1 at 15:55
It seems service was not enabled. Is automount capability exists when you disabled (stop before) service?
â Yurij Goncharuk
Apr 1 at 16:55
It seems service was not enabled. Is automount capability exists when you disabled (stop before) service?
â Yurij Goncharuk
Apr 1 at 16:55
Computer did automounting, udisks2 was loaded and active (I did
systemctl -a before doing actions) and I have not played with it before, After your post I first stopped it then disabled. Now doing in sequence enabling, start, stop and disabling writes removed sysmlink on disabling step.â Alexei Martianov
Apr 2 at 4:41
Computer did automounting, udisks2 was loaded and active (I did
systemctl -a before doing actions) and I have not played with it before, After your post I first stopped it then disabled. Now doing in sequence enabling, start, stop and disabling writes removed sysmlink on disabling step.â Alexei Martianov
Apr 2 at 4:41
What type of FS have you mounted? For
fat FS codepage= and ioscharset= options exists. For ntfs FS only iocharset= exists.â Yurij Goncharuk
Apr 8 at 13:49
What type of FS have you mounted? For
fat FS codepage= and ioscharset= options exists. For ntfs FS only iocharset= exists.â Yurij Goncharuk
Apr 8 at 13:49
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434749%2flinux-mint-automount-package-options-how-to-find-on-computer-and-change%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
I've always just done it in Disks.
â Ignacio Vazquez-Abrams
Mar 31 at 22:32
@Ignacio Vazquez-Abrams, thank you I can do that after inserting particular USB-stick. My confusion was initially bacause I could not change options for SD-card reader (and still don't know how), but for ordinary USB it works.
â Alexei Martianov
Apr 1 at 15:43
You can't do it for the adapter, you have to do it for the media.
â Ignacio Vazquez-Abrams
Apr 1 at 15:53