LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 12:21 PM   #1
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,970

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
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 01:06 PM.
 
Old 01-30-2013, 12:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,953
Blog Entries: 54

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

Original Poster
Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
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, 12:50 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,953
Blog Entries: 54

Rep: Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733Reputation: 2733
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, 12:53 PM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 3,312

Rep: Reputation: Disabled
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, 05:36 PM   #6
qweasd
Member
 
Registered: May 2010
Posts: 436

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

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, 03:39 AM   #8
GazL
Senior Member
 
Registered: May 2008
Posts: 3,312

Rep: Reputation: Disabled
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, 04:14 AM   #9
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 Current
Posts: 327

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


All times are GMT -5. The time now is 02:33 AM.

Main Menu
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