LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-03-2012, 05:17 AM   #1
_ZeD_
LQ Newbie
 
Registered: May 2012
Distribution: Slackware
Posts: 26

Rep: Reputation: 1
Exclamation udev and mount options after suspend/resume


Hi

Running slackware-current.

I don't know for how much it goes, but I have this "problem" with suspend/resume:

I'm using kde, and letting it mount my partitions automatically.
It runs fine, but, every time I suspend and resume the pc, I found some mount options added.

For example:

Code:
$ mount
/dev/sda6 on / type ext4 (rw,commit=0)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda8 on /media/Deposito type ext3 (rw,nosuid,nodev,commit=600,commit=0,commit=0,commit=600,commit=600,commit=0,uhelper=udisks)
/dev/sda3 on /media/Seven type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda7 on /media/Opensuse type ext4 (rw,nosuid,nodev,commit=600,commit=0,commit=0,commit=600,commit=600,commit=0,uhelper=udisks)
gvfs-fuse-daemon on /home/zed/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=zed)
you can see the bunch of "commit=600,commit=0" added as mount options of /dev/sda8 and /dev/sda7? can you give me an hint of what happened? I found that more times I suspend/resume more of that are added.

moreover, if i "manually" (via the kde applet) umount and re-mount the partition, the options disappears completely.

Thank you
 
Old 08-03-2012, 05:50 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,915

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
When you manually mount, the options that are added to /etc/mtab are only the ones *you* specify (taken from the command line and/or /etc/fstab), so that part is normal. All those duplicate commit= don't look right though and it probably ought to be looked at, but I doubt they're doing any harm.

You can check /proc/mounts to see the true list of options that are in effect for each filesystem

Last edited by GazL; 08-03-2012 at 05:54 AM.
 
Old 06-23-2013, 09:20 AM   #3
_ZeD_
LQ Newbie
 
Registered: May 2012
Distribution: Slackware
Posts: 26

Original Poster
Rep: Reputation: 1
Thumbs up

from -current changelog

Code:
 Sun Jun 23 01:08:14 UTC 2013
...
ap/pm-utils-1.4.1-x86_64-3.txz: Rebuilt.
       Merged various patches. Thanks to Robby Workman.
       Documentation fixes. Thanks to Fabio Sangiovanni.
       Removed hooks that cause repeated commit=0 mount options with ext
       filesystems after suspend/resume. Thanks to Marin Glibic.
...
thank you indeed

now the problem has been solved
 
  


Reply

Tags
mount, resume, suspend, udev



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
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 01:09 PM
can't resume after suspend newbiesforever Linux - General 1 08-26-2009 06:52 AM
Nothing on display after suspend/resume rangalo Debian 2 06-26-2007 04:19 AM
Modifying mount options (ro/rw etc.) during automount via udev kamal.n2 Linux - Laptop and Netbook 8 12-14-2006 02:19 PM
No resume from suspend mehlkelm Debian 3 11-22-2005 10:48 AM

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

All times are GMT -5. The time now is 01:35 PM.

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