LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-30-2013, 01:21 PM   #1
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,676

Rep: Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237
Small tip for .gvfs haters


I did notice that the presence in my $HOME of a directory called .gvfs prevents to cleanly mirror it with rsync. This occurs in some situations if the gvfs package (which is included in Slackware) is installed.

After a little googling it seems to be a fuse file system that can't be read nor removed by root, at least with the initial Slackware settings.

I have seen proposals for setting or updating udev rules to avoid that situation but the simplest IMHO is to unmount then delete it. I do that just before I launch rsync. As root:
Code:
umount /home/didier/.gvfs && rm -rf /home/didier/.gvfs
Maybe there are security concerns in doing that, so if you are aware of any please answer this post.

Last edited by Didier Spaier; 01-30-2013 at 02:06 PM.
 
Old 01-30-2013, 01:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,744
Blog Entries: 54

Rep: Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973
Why not just --exclude it?
 
1 members found this post helpful.
Old 01-30-2013, 01:48 PM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,676

Original Poster
Rep: Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237
Quote:
Originally Posted by unSpawn View Post
Why not just --exclude it?
Because it usually takes me a lot of time to find a simple solution to a problem :^)

So thanks for the suggestion, I will do that from now on.
 
Old 01-30-2013, 01:50 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,744
Blog Entries: 54

Rep: Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973Reputation: 2973
Quote:
Originally Posted by Didier Spaier View Post
Because it usually takes me a lot of time to find a simple solution to a problem
Heh, I know exactly how that works :-]
 
Old 01-30-2013, 01:53 PM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 3,503

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Code:
GVFS_DISABLE_FUSE=1 ; export GVFS_DISABLE_FUSE
I added the above to my .xinitrc. (it needs to be set before dbus-launch is called to be effective.
 
5 members found this post helpful.
Old 01-30-2013, 06:36 PM   #6
qweasd
Member
 
Registered: May 2010
Posts: 486

Rep: Reputation: Disabled
What is this folder useful for? What triggers the mount?
 
Old 01-30-2013, 07:18 PM   #7
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware -current, OpenBSD, OSX
Posts: 164

Rep: Reputation: 20
Quote:
Originally Posted by GazL View Post
Code:
GVFS_DISABLE_FUSE=1 ; export GVFS_DISABLE_FUSE
I added the above to my .xinitrc. (it needs to be set before dbus-launch is called to be effective.
thanks for that...gotta say I was more than a little perturbed when I, as root, saw a directory with "permissions" -such as they were- that I could not nuke...
 
Old 01-31-2013, 04:39 AM   #8
GazL
Senior Member
 
Registered: May 2008
Posts: 3,503

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Quote:
Originally Posted by qweasd View Post
What is this folder useful for? What triggers the mount?
http://en.wikipedia.org/wiki/Gvfs


Until I disabled it, it was generally thunar that would trigger this, though I guess any apps that use the gnome file selector dialog would also trigger it.
 
Old 01-31-2013, 05:14 AM   #9
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current multilib
Posts: 361

Rep: Reputation: 95
I guess im not running any gnome compatible apps that use it. rm -rf seems to have deleted it.
 
  


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
LXer: Tip: Tip: Simple Regular Expressions For Reviewing Log Files LXer Syndicated Linux News 0 11-20-2008 01:41 PM
LXer: Tip: Zeroshell Delivers Big Network Services in a Small Package LXer Syndicated Linux News 0 11-18-2008 05:10 PM
LXer: Tough love: Linux needs more haters (Re Linux Haters Blog) LXer Syndicated Linux News 0 07-19-2008 09:11 AM
A small KDE tip for newbies vinay_s_s Linux - Newbie 1 07-23-2004 08:46 PM
for you nvidia haters ronss Linux - Hardware 0 11-14-2003 02:02 AM


All times are GMT -5. The time now is 10:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration