![]() |
|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]()
No matter what setups I have tried I am not able to get nautilus(1) to automount media with hald(1), thats strange since I have got working setup in the past ...
Below is my setup, config files, ... /etc/rc.conf Code:
font8x14="iso02-8x14" font8x16="iso02-8x16" font8x8="iso02-8x8" keymap="pl_PL.ISO8859-2" keyrate="fast" scrnmap="NO" allscreens_flags="MODE_34" moused_enable="YES" sshd_enable="YES" powerd_enable="YES" hald_enable="YES" dbus_enable="YES" polkitd_enable="YES" hostname="mavio" devd_enable="YES" devfs_system_ruleset="devfsrules_common" Code:
hw.syscons.bell=0 kern.coredump=0 vfs.usermount=1 Code:
# Commonly used by many ports link cd0 cdrom link cd0 dvd # Allow a user in the wheel group to query the smb0 device #perm smb0 0660 # Allow all users to access CD's perm /dev/acd0 0666 perm /dev/acd1 0666 perm /dev/cd0 0666 perm /dev/cd1 0666 # Allow all USB Devices to be mounted perm /dev/da0 0666 perm /dev/da1 0666 perm /dev/da2 0666 perm /dev/da3 0666 # Misc other devices perm /dev/pass0 0666 perm /dev/xpt0 0666 perm /dev/agpart 0666 perm /dev/uscanner0 0666 Code:
[devfsrules_common=7] add path 'ad*' mode 666 group operator add path 'acd*' mode 666 group operator add path 'cd*' mode 666 group operator add path 'pass*' mode 666 group operator add path 'xpt*' mode 666 group operator add path 'ugen*' mode 666 group operator add path 'usb*' mode 666 group operator add path 'fd*' mode 666 group operator add path 'uscan*' mode 666 group operator Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> <config version="0.1"> <define_admin_auth group="operator"/> <match action="org.freedesktop.hal.storage.mount-removable"> <match user="vermaden"> <return result="yes"/> </match> </match> <match action="org.freedesktop.hal.storage.mount-fixed"> <match user="vermaden"> <return result="yes"/> </match> </match> <match action="org.freedesktop.hal.storage.eject"> <match user="vermaden"> <return result="yes"/> </match> </match> </config> Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> <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> Code:
<?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="volume.fstype" string="vfat"> <match key="volume.size" compare_ge="128000000000"> <merge key="volume.policy.mount_option.large" type="bool">true</merge> </match> </match> </device> </deviceinfo> Code:
<?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="freebsd.driver" string="ums"> <match key="freebsd.unit" int="0"> <merge key="info.ignore" type="bool">true</merge> </match> </match> </device> </deviceinfo> Code:
/dev/ad4s2a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad4s2e on /usr (ufs, local, soft-updates) /dev/ad4s2d on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) Code:
# Device Mountpoint FStype Options Dump Pass# /dev/ad4s2b none swap sw 0 0 /dev/ad4s2a / ufs rw 1 1 /dev/ad4s2e /usr ufs rw 2 2 /dev/ad4s2d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 dmesg(1) output with pendrive in: http://pastebin.com/f5bf9d125 Output of: gnome-mount --block --no-ui --verbose --hal-udi /org/freedesktop/Hal/devices/storage_model_DataTraveler_2_0 Code:
gnome-mount 0.8 ** Message: Drive /org/freedesktop/Hal/devices/storage_model_DataTraveler_2_0 does not contain media. All I want to achieve is to get nautilus(1) (standalone without GNOME) automount media with hald(1). I have read HAL FAQ again and again but that still does not helps: http://www.freebsd.org/gnome/docs/halfaq.html PC-BSD 7.1.1 automounts media without any problems on that box, but nautilus(1) is no go, even after portmaster -r -p nautilus. Thanks in advance for any input.
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
![]() Quote:
|
![]() |
Tags |
automount, dbus, hal, hald, nautilus |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Popcorn Hour Media Box | DraconianTimes | Off-Topic | 1 | 9th April 2009 06:18 PM |
Mount removable Media Glitch | shep | FreeBSD General | 3 | 14th February 2009 10:16 PM |
Nautilus problem | harisman | FreeBSD General | 2 | 20th October 2008 06:31 PM |
Media error... are there any way to help this? | Sunnz | OpenBSD General | 0 | 5th May 2008 06:45 AM |