Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
famd disallowing umount /mnt/camera
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Tue Nov 16, 2004 6:54 am    Post subject: famd disallowing umount /mnt/camera Reply with quote

Back in the day I used to have a problem where often I couldn't umount /mnt/cdrom because fam was accessing it causing "device is busy." Since then the devs have fixed that little problem.

Now, however, I am getting the same thing with my digital camera.

Is there any way to stop fam from fucking with /mnt/camera? Or do I have to always kill fam, umount, and start fam again? Or should I just say "fuck it" and unmerge fam completely because it's caused me a lot of headaches in the past and is continuing to do so?
_________________
[ blaksaga.com ]
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Tue Nov 16, 2004 8:01 am    Post subject: Reply with quote

have you tried doing a lazy unmount? it works for me when lvm doesn't let me unmount a volume group.

Code:
umount -l <dev>


--de
Back to top
View user's profile Send private message
uprooter
n00b
n00b


Joined: 06 Mar 2005
Posts: 70

PostPosted: Sun Mar 27, 2005 9:47 am    Post subject: The same problem here Reply with quote

I get the same problem.. Also with my CDROM..
How do you stop that ugly beast from locking files on removable media?
Back to top
View user's profile Send private message
csab
Apprentice
Apprentice


Joined: 15 Apr 2005
Posts: 152
Location: Atlanta, GA

PostPosted: Fri Jul 01, 2005 1:10 am    Post subject: Reply with quote

I get the same problem with a FAT partition on my other hard drive. Interestingly, it only gets locked when I access it with nautilus. If I only access it from command line, fam won't lock it.

My workaround is restarting the fam deamon:
/etc/init.d/famd restart
umount /mnt/shared

I don't like to use umount -l, because it only detaches the filesystem from the hierarchy, but doesn't clean up references to it until it's not busy. But if fam keeps it indefinitely (my experience is this) then the references will never be cleaned, i. e. the filesystem won't be properly unmounted. Tell me if I'm wrong.

You can get used to it, but it's definitely annoying.
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Fri Jul 01, 2005 5:39 am    Post subject: Reply with quote

Make sure that nautilus is not browsing the directory that you are trying to unmount. As long as I have no applications using the mounted device I have no problems with fam anymore.
_________________
[ blaksaga.com ]
Back to top
View user's profile Send private message
csab
Apprentice
Apprentice


Joined: 15 Apr 2005
Posts: 152
Location: Atlanta, GA

PostPosted: Thu Jul 07, 2005 5:29 pm    Post subject: Reply with quote

blaksaga wrote:
Make sure that nautilus is not browsing the directory that you are trying to unmount. As long as I have no applications using the mounted device I have no problems with fam anymore.


Even if I quit Nautilis, this happens. I have to restart famd.
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Fri Jul 08, 2005 4:07 am    Post subject: Reply with quote

Hmmm...well...all I can suggest is seeing if there is an updated fam and maybe file a bug report.

I am using

app-admin/fam-2.7.0-r2

and am experiencing no problems. I used to have the same problem but I updated fam a while back and has worked since. Sorry, don't know what else to tell you. :?
_________________
[ blaksaga.com ]
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Sun Nov 13, 2005 11:30 pm    Post subject: Reply with quote

I'm getting this exact same problem, too - famd locks up my FireWire hard drive.

I use csab's workaround
Code:
# /etc/init.d/famd restart
# umount /dev/sdb1


But having to do this is annoying, which is why I'm here. Does this problem appear to have no solution as yet?
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Cardoe
Retired Dev
Retired Dev


Joined: 28 Jun 2002
Posts: 32

PostPosted: Wed Feb 22, 2006 3:28 pm    Post subject: Reply with quote

This is a known issue with famd. Sun knows about this. (They are the creators and maintainers of famd.) Due to the nature of famd there is no possible
solution to this issue. It will remain for good. This is was famd is depreciated in favor of it's newer and better replacement called "gamin".
_________________
Cardoe

Retired Gentoo Developer
Gentopia, MythTV, D-Bus
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Wed Feb 22, 2006 4:54 pm    Post subject: Reply with quote

Yeah, that's what I'm using now. Famd was OK in Gnome, but a little while ago I switched to KDE, and it went mad! For the entire time I was logged in, it was constantly accessing the disk and eating all the CPU cycles. Gamin doesn't do that. I prefer Gamin :)
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
certocivitas
Apprentice
Apprentice


Joined: 29 Dec 2004
Posts: 194

PostPosted: Thu Feb 23, 2006 7:53 am    Post subject: Reply with quote

I'm so happy to have found this thread! It was really getting under my skin that fam would not play nice. With gamin devices will cleanly unmount even with a instance of nautilus displaying them. It worked flawlessly when I tested things with my cdrom, camra, and mp3 player.
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Thu Feb 23, 2006 5:25 pm    Post subject: Reply with quote

Yup - it's a good thread :)
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum