LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2013, 01:06 PM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Question How to add mount options to automount in Slackware current ?


Hi !

I would like to add a noatime option to every drive i plug into my system.
I looked around, and found no proper solution. Udisks2 is used, but apart strange udev rules, nothing shows how to pass customs options.
I know Udisks2 is a piece of garbage, but there must be a way to do it...
 
Old 10-12-2013, 06:49 PM   #2
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
There is doc/ directory inside the udisks2 source tarball, but the SlackBuild doesn't install it into /usr/doc/udisks2. You may have more luck digging there.
 
Old 10-13-2013, 12:04 AM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I thought if the drives /the etc/fstab would handle that and any other new drives when you say plugin you mean external or hotswap ?
those are mounted in /media and it is the user that has to have permission to access I thought that is how it worked mine works that way.
I have all four of my drives set up in /etc/fstab then anything else I plugin is mounted you just need to access them.
I remember a long time ago when I had multiple usb drives I would pre set them up in fstab so they would auto-mount to /mnt/usb1 etc.
but if your disconnecting and reconnecting it will keep changing.
this was back in the early 2.6 kernel and the 2.4 kernel and you needed to do this to use them.
 
Old 10-13-2013, 11:52 AM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
Quote:
Originally Posted by Linux.tar.gz View Post
Hi !

I would like to add a noatime option to every drive i plug into my system.
I looked around, and found no proper solution. Udisks2 is used, but apart strange udev rules, nothing shows how to pass customs options.
I know Udisks2 is a piece of garbage, but there must be a way to do it...
From what I've been able to tell, you have to configure the volume manager that calls udisks2 to do what you want. If you are running XFCE, that would be Thunar. If it's KDE, I think that Dolphin is what you'd configure.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add blkdiscard to Slackware-current? jtsn Slackware 0 07-25-2013 05:44 PM
Fstab, mount & automount options. Once for ALL if Possible mihai119 Debian 5 08-29-2012 05:13 PM
LiveDVD which is better ext3 or ext4? How do you add mount options? MikeyCarter Linux - Software 1 10-01-2010 09:37 AM
Forcing mount options for automount in KDE 4 ack_iix Slackware 0 01-19-2010 03:53 AM
Modifying mount options (ro/rw etc.) during automount via udev kamal.n2 Linux - Laptop and Netbook 8 12-14-2006 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration