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

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question


















  • 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














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.







share|improve this question


















  • 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












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.







share|improve this question














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.









share|improve this question













share|improve this question




share|improve this question








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












  • 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










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.






share|improve this answer




















  • 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










  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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






























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.






share|improve this answer




















  • 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










  • 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














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.






share|improve this answer




















  • 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










  • 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












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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 1 at 12:29









Yurij Goncharuk

2,2582521




2,2582521











  • 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










  • 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
















  • 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










  • 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















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












 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?