135b4
![]() |
|
|
|
|
#1
|
|||
|
|||
|
Hello,
I did a fresh install of FreeBSD 8.1 with Gnome and KDE. In Gnome when I connect an USB drive I get the following 2 Errors: Code:
Cannot mount volume Unable to mount the volume 'RALLY2'. Details: mount_msdosfs: dev/msdosfs/RALLY2: Device busy Code:
Cannot mount volume Error org.freedesktop.Hal.Device.UnknownError. Details: An unknown error occured Code:
$ ls /media | grep RALLY RALLY2 RALLY2_ RALLY2__ $ Code:
Cannot unmount volume The volume 'RALLY2' was probably mounted manually on the command line Details Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL Mounting other HDD devices from my computer works great automatically. My PolicyKit.conf taken from PC-BSD: Code:
<config version="0.1">
<define_admin_auth group="operator"/>
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.storage.mount-fixed">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.storage.eject">
<return result="yes"/>
</match>
</config>
|
|
#2
|
||||
|
||||
|
Make sure everything is unmounted and remove any stray directories from /media/.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
||||
|
||||
|
hald and dbus are in /etc/rc.conf ?
Code:
dbus_enable="YES" hald_enable="YES" and the directory /media is empty ? |
|
#4
|
|||
|
|||
|
my /etc/rc.conf:
Code:
dbus_enable="YES" hald_enable="YES" polkitd_enable="YES" gnome_enable="YES" Code:
# ls /media .hal-mtab disk disk-2 disk-4 .hal-mtab-lock disk-1 disk-3 # |
|
#5
|
|||
|
|||
|
Greetings.
It could be a badly formatted usb stick. Put a new file system on it and try again. |
|
#6
|
||||
|
||||
|
Quote:
try only Code:
gnome_enable="YES" Quote:
or correct is Code:
dbus_enable="YES" hald_enable="YES" polkitd_enable="YES" gdm_enable="YES" Last edited by DutchDaemon; September 18th, 2010 at 19:23. |
|
#7
|
|||
|
|||
|
I have change this Quote:
newfs_msdosfs /dev/da0s1Ok now the USB Stick is mounted automatically, but I can't unmout it. When I try it in nautilus or use this: umount /dev/da0s1the stick is direly mounted again by hal. Last edited by DutchDaemon; September 19th, 2010 at 03:31. |
|
#8
|
||||
|
||||
|
I can umount pendrive on gnome (right button of mouse and umount).
When system writes something on pendrive you can't umount his. You have to wait, when done it. |
|
#9
|
|||
|
|||
|
I know how to unmount a pendrive. The problem is after it is removed. The icon has disappeared from the desktop. It is directly mounted again by hal. So I can't remove the pendrive because it is mounted again.
|
|
#10
|
||||
|
||||
|
You may have to disable automounting somewhere in the desktop environment. No idea where GNOME has that; in xfce4, it's Settings/File Manager/Advanced.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] write on nfs server and automount | daff | Web & Network Services | 6 | July 8th, 2012 02:03 |
| Automount pen drive | nu2fbsd | Peripheral Hardware | 4 | March 27th, 2010 00:42 |
| hald(1) and nautilus(1) does not automount media | vermaden | Installation and Maintenance of FreeBSD Ports or Packages | 15 | November 29th, 2009 22:54 |
| 8.0-RC1 USB Automount Issue (Gnome) | jcarver | GNOME | 7 | October 26th, 2009 22:20 |
| How to NOT automount in Gnome | zeiz | GNOME | 5 | August 20th, 2009 00:57 |