Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-02-03 23:16:01

Ahau
Member
Registered: 2011-12-22
Posts: 27

Trying to drop some gnome libs from gvfs dependency chain...

Hi all,

I'm working on packaging XFCE for Porteus, which is a Slackware-based Linux-Live distribution that runs from a live CD or USB flash drive.  I'm trying to keep it to a fairly minimal installation without dropping lots of features (I know that may be a bit of a bumpy road).

I'm presently stuck on something and am wondering if anyone knows a way around.  I've cut gnome-keyring and gnome-disk-utility from my build (and hence from gvfs).  I still have gvfs installed, and my trash bin is working properly.  However, I'm having some trouble getting devices to automount (for example, flash drives and CD's).  I can get my flash drives to automount using udev rules or devmon, which is a bash script that acts as an automounting daemon.  However, the devices do not show up in the left pane of Thunar like they do when I have GDU/gnome-keyring included.

As far as I can tell, the critical component seems to be the creation of some kind of virtual volume.  For example, when I run thunar from a console and plug in my drive, I get the error: "thunar-volman: Could not detect the volume corresponding to the device."

If I run gvfs-mount -oi and plug in the drive, I do get some output when the drive is automounted (e.g. via a udev rule), but it is much shorter than the comparable output when GDU/gnome-keyring are present.

for example:

gvfs-mount -oi 
(plug in drive)
Monitoring events. Press Ctrl+C to quit.
Mount added: 'usbhd-sdc2'
  Mount(0): usbhd-sdc2 -> file:///media/usbhd-sdc2
    Type: GUnixMount
    default_location=file:///media/usbhd-sdc2
    themed icons:  [drive-harddisk]  [drive]
    can_unmount=1
    can_eject=0
    is_shadowed=0

Mount added: 'usbhd-sdc1'
  Mount(0): usbhd-sdc1 -> file:///media/usbhd-sdc1
    Type: GUnixMount
    default_location=file:///media/usbhd-sdc1
    themed icons:  [drive-harddisk]  [drive]
    can_unmount=1
    can_eject=0
    is_shadowed=0

is the output when I automount with a udev rule.  When I switch back to a system with GDU and gnome-keyring active, I get this:

gvfs-mount -oi
Monitoring events. Press Ctrl+C to quit.
Drive connected:    'Lexar USB Flash Drive'
  Drive(0): Lexar USB Flash Drive
    Type: GProxyDrive (GProxyVolumeMonitorGdu)
    ids:
     unix-device: '/dev/sdc'
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    is_media_removable=1
    has_media=1
    is_media_check_automatic=1
    can_poll_for_media=1
    can_eject=1
    can_start=0
    can_stop=1
    start_stop_type=shutdown
    Volume(0): 2.1 GB Filesystem
      Type: GProxyVolume (GProxyVolumeMonitorGdu)
      ids:
       unix-device: '/dev/sdc2'
       uuid: '65db6cc8-eaea-4833-b04a-af4446284c55'
      themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
      can_mount=1
      can_eject=1
      should_automount=1

Volume added:       '2.1 GB Filesystem'
  Volume(0): 2.1 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     unix-device: '/dev/sdc2'
     uuid: '65db6cc8-eaea-4833-b04a-af4446284c55'
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    can_mount=1
    can_eject=1
    should_automount=1

Volume changed:     '2.1 GB Filesystem'
  Volume(0): 2.1 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     unix-device: '/dev/sdc2'
     uuid: '65db6cc8-eaea-4833-b04a-af4446284c55'
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    can_mount=1
    can_eject=1
    should_automount=1

Mount added: '2.1 GB Filesystem'
  Mount(0): 2.1 GB Filesystem -> file:///media/65db6cc8-eaea-4833-b04a-af4446284c55
    Type: GProxyMount (GProxyVolumeMonitorGdu)
    default_location=file:///media/65db6cc8-eaea-4833-b04a-af4446284c55
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    can_unmount=1
    can_eject=1
    is_shadowed=0

Drive changed:      'Lexar USB Flash Drive'
  Drive(0): Lexar USB Flash Drive
    Type: GProxyDrive (GProxyVolumeMonitorGdu)
    ids:
     unix-device: '/dev/sdc'
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    is_media_removable=1
    has_media=1
    is_media_check_automatic=1
    can_poll_for_media=1
    can_eject=1
    can_start=0
    can_stop=1
    start_stop_type=shutdown
    Volume(0): 1.9 GB Filesystem
      Type: GProxyVolume (GProxyVolumeMonitorGdu)
      ids:
       unix-device: '/dev/sdc1'
       uuid: '5825-5602'
      themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
      can_mount=1
      can_eject=1
      should_automount=1
    Volume(1): 2.1 GB Filesystem
      Type: GProxyVolume (GProxyVolumeMonitorGdu)
      ids:
       unix-device: '/dev/sdc2'
       uuid: '65db6cc8-eaea-4833-b04a-af4446284c55'
      themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
      can_mount=1
      can_eject=1
      should_automount=1
      Mount(0): 2.1 GB Filesystem -> file:///media/65db6cc8-eaea-4833-b04a-af4446284c55
        Type: GProxyMount (GProxyVolumeMonitorGdu)
        default_location=file:///media/65db6cc8-eaea-4833-b04a-af4446284c55
        themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
        can_unmount=1
        can_eject=1
        is_shadowed=0

Volume added:       '1.9 GB Filesystem'
  Volume(0): 1.9 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     unix-device: '/dev/sdc1'
     uuid: '5825-5602'
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    can_mount=1
    can_eject=1
    should_automount=1

Volume changed:     '1.9 GB Filesystem'
  Volume(0): 1.9 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     unix-device: '/dev/sdc1'
     uuid: '5825-5602'
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    can_mount=1
    can_eject=1
    should_automount=1

Mount added: '1.9 GB Filesystem'
  Mount(0): 1.9 GB Filesystem -> file:///media/5825-5602
    Type: GProxyMount (GProxyVolumeMonitorGdu)
    default_location=file:///media/5825-5602
    themed icons:  [drive-removable-media-usb]  [drive-removable-media]  [drive-removable]  [drive]
    can_unmount=1
    can_eject=1
    is_shadowed=0

As you can see, there are messages about: "Volume added".

Without GDU/libgnome-keyring, I'm also unable to mount devices using gvfs-mount, for the same reason (no volume found).

I recompiled thunar-volman to include full debug output, and here's what I got...but I think it more or less confirms what I've written above:

root@porteus:/tmp# thunar -q
root@porteus:/tmp# thunar
(thunar-volman:8714): thunar-volman-DEBUG: tvm_device_added:
(thunar-volman:8714): thunar-volman-DEBUG:     UDEV_LOG = 3
(thunar-volman:8714): thunar-volman-DEBUG:     DEVPATH = /devices/pci0000:00/0000:00:1d.7/usb2/2-4
(thunar-volman:8714): thunar-volman-DEBUG:     MAJOR = 189
(thunar-volman:8714): thunar-volman-DEBUG:     MINOR = 134
(thunar-volman:8714): thunar-volman-DEBUG:     DEVNAME = /dev/bus/usb/002/007
(thunar-volman:8714): thunar-volman-DEBUG:     DEVTYPE = usb_device
(thunar-volman:8714): thunar-volman-DEBUG:     DRIVER = usb
(thunar-volman:8714): thunar-volman-DEBUG:     PRODUCT = 5dc/a764/1100
(thunar-volman:8714): thunar-volman-DEBUG:     TYPE = 0/0/0
(thunar-volman:8714): thunar-volman-DEBUG:     BUSNUM = 002
(thunar-volman:8714): thunar-volman-DEBUG:     DEVNUM = 007
(thunar-volman:8714): thunar-volman-DEBUG:     SUBSYSTEM = usb
(thunar-volman:8714): thunar-volman-DEBUG:     ID_VENDOR = Lexar
(thunar-volman:8714): thunar-volman-DEBUG:     ID_VENDOR_ENC = Lexar
(thunar-volman:8714): thunar-volman-DEBUG:     ID_VENDOR_ID = 05dc
(thunar-volman:8714): thunar-volman-DEBUG:     ID_MODEL = USB_Flash_Drive
(thunar-volman:8714): thunar-volman-DEBUG:     ID_MODEL_ENC = USB\x20Flash\x20Drive
(thunar-volman:8714): thunar-volman-DEBUG:     ID_MODEL_ID = a764
(thunar-volman:8714): thunar-volman-DEBUG:     ID_REVISION = 1100
(thunar-volman:8714): thunar-volman-DEBUG:     ID_SERIAL = Lexar_USB_Flash_Drive_8IIHK1QG4ZB4ZZ1A9UXY
(thunar-volman:8714): thunar-volman-DEBUG:     ID_SERIAL_SHORT = 8IIHK1QG4ZB4ZZ1A9UXY
(thunar-volman:8714): thunar-volman-DEBUG:     ID_BUS = usb
(thunar-volman:8714): thunar-volman-DEBUG:     ID_USB_INTERFACES = :080650:
thunar-volman: Unsupported USB device type.
(thunar-volman:8717): thunar-volman-DEBUG: tvm_device_added:
(thunar-volman:8717): thunar-volman-DEBUG:     UDEV_LOG = 3
(thunar-volman:8717): thunar-volman-DEBUG:     DEVPATH = /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0
(thunar-volman:8717): thunar-volman-DEBUG:     DEVTYPE = usb_interface
(thunar-volman:8717): thunar-volman-DEBUG:     DRIVER = usb-storage
(thunar-volman:8717): thunar-volman-DEBUG:     PRODUCT = 5dc/a764/1100
(thunar-volman:8717): thunar-volman-DEBUG:     TYPE = 0/0/0
(thunar-volman:8717): thunar-volman-DEBUG:     INTERFACE = 8/6/80
(thunar-volman:8717): thunar-volman-DEBUG:     MODALIAS = usb:v05DCpA764d1100dc00dsc00dp00ic08isc06ip50
(thunar-volman:8717): thunar-volman-DEBUG:     SUBSYSTEM = usb
thunar-volman: Unsupported USB device type.
(thunar-volman:8728): thunar-volman-DEBUG: tvm_device_added:
(thunar-volman:8728): thunar-volman-DEBUG:     UDEV_LOG = 3
(thunar-volman:8728): thunar-volman-DEBUG:     DEVPATH = /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/host9/target9:0:0/9:0:0:0/block/sdc
(thunar-volman:8728): thunar-volman-DEBUG:     MAJOR = 8
(thunar-volman:8728): thunar-volman-DEBUG:     MINOR = 32
(thunar-volman:8728): thunar-volman-DEBUG:     DEVNAME = /dev/sdc
(thunar-volman:8728): thunar-volman-DEBUG:     DEVTYPE = disk
(thunar-volman:8728): thunar-volman-DEBUG:     SUBSYSTEM = block
(thunar-volman:8728): thunar-volman-DEBUG:     ID_VENDOR = Lexar
(thunar-volman:8728): thunar-volman-DEBUG:     ID_VENDOR_ENC = Lexar\x20\x20\x20
(thunar-volman:8728): thunar-volman-DEBUG:     ID_VENDOR_ID = 05dc
(thunar-volman:8728): thunar-volman-DEBUG:     ID_MODEL = USB_Flash_Drive
(thunar-volman:8728): thunar-volman-DEBUG:     ID_MODEL_ENC = USB\x20Flash\x20Drive\x20
(thunar-volman:8728): thunar-volman-DEBUG:     ID_MODEL_ID = a764
(thunar-volman:8728): thunar-volman-DEBUG:     ID_REVISION = 1100
(thunar-volman:8728): thunar-volman-DEBUG:     ID_SERIAL = Lexar_USB_Flash_Drive_8IIHK1QG4ZB4ZZ1A9UXY-0:0
(thunar-volman:8728): thunar-volman-DEBUG:     ID_SERIAL_SHORT = 8IIHK1QG4ZB4ZZ1A9UXY
(thunar-volman:8728): thunar-volman-DEBUG:     ID_TYPE = disk
(thunar-volman:8728): thunar-volman-DEBUG:     ID_INSTANCE = 0:0
(thunar-volman:8728): thunar-volman-DEBUG:     ID_BUS = usb
(thunar-volman:8728): thunar-volman-DEBUG:     ID_USB_INTERFACES = :080650:
(thunar-volman:8728): thunar-volman-DEBUG:     ID_USB_INTERFACE_NUM = 00
(thunar-volman:8728): thunar-volman-DEBUG:     ID_USB_DRIVER = usb-storage
(thunar-volman:8728): thunar-volman-DEBUG:     ID_PATH = pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:0
(thunar-volman:8728): thunar-volman-DEBUG:     ID_PART_TABLE_TYPE = dos
(thunar-volman:8728): thunar-volman-DEBUG:     UDISKS_PRESENTATION_NOPOLICY = 0
(thunar-volman:8728): thunar-volman-DEBUG:     UDISKS_PARTITION_TABLE = 1
(thunar-volman:8728): thunar-volman-DEBUG:     UDISKS_PARTITION_TABLE_SCHEME = mbr
(thunar-volman:8728): thunar-volman-DEBUG:     UDISKS_PARTITION_TABLE_COUNT = 2
(thunar-volman:8728): thunar-volman-DEBUG:     DEVLINKS = /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_8IIHK1QG4ZB4ZZ1A9UXY-0:0 /dev/disk/by-path/pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:0
thunar-volman: Unknown block device type.
(thunar-volman:8761): thunar-volman-DEBUG: tvm_device_added:
(thunar-volman:8761): thunar-volman-DEBUG:     UDEV_LOG = 3
(thunar-volman:8761): thunar-volman-DEBUG:     DEVPATH = /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc2
(thunar-volman:8761): thunar-volman-DEBUG:     MAJOR = 8
(thunar-volman:8761): thunar-volman-DEBUG:     MINOR = 34
(thunar-volman:8761): thunar-volman-DEBUG:     DEVNAME = /dev/sdc2
(thunar-volman:8761): thunar-volman-DEBUG:     DEVTYPE = partition
(thunar-volman:8761): thunar-volman-DEBUG:     SUBSYSTEM = block
(thunar-volman:8761): thunar-volman-DEBUG:     ID_VENDOR = Lexar
(thunar-volman:8761): thunar-volman-DEBUG:     ID_VENDOR_ENC = Lexar\x20\x20\x20
(thunar-volman:8761): thunar-volman-DEBUG:     ID_VENDOR_ID = 05dc
(thunar-volman:8761): thunar-volman-DEBUG:     ID_MODEL = USB_Flash_Drive
(thunar-volman:8761): thunar-volman-DEBUG:     ID_MODEL_ENC = USB\x20Flash\x20Drive\x20
(thunar-volman:8761): thunar-volman-DEBUG:     ID_MODEL_ID = a764
(thunar-volman:8761): thunar-volman-DEBUG:     ID_REVISION = 1100
(thunar-volman:8761): thunar-volman-DEBUG:     ID_SERIAL = Lexar_USB_Flash_Drive_8IIHK1QG4ZB4ZZ1A9UXY-0:0
(thunar-volman:8761): thunar-volman-DEBUG:     ID_SERIAL_SHORT = 8IIHK1QG4ZB4ZZ1A9UXY
(thunar-volman:8761): thunar-volman-DEBUG:     ID_TYPE = disk
(thunar-volman:8761): thunar-volman-DEBUG:     ID_INSTANCE = 0:0
(thunar-volman:8761): thunar-volman-DEBUG:     ID_BUS = usb
(thunar-volman:8761): thunar-volman-DEBUG:     ID_USB_INTERFACES = :080650:
(thunar-volman:8761): thunar-volman-DEBUG:     ID_USB_INTERFACE_NUM = 00
(thunar-volman:8761): thunar-volman-DEBUG:     ID_USB_DRIVER = usb-storage
(thunar-volman:8761): thunar-volman-DEBUG:     ID_PATH = pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:0
(thunar-volman:8761): thunar-volman-DEBUG:     ID_PART_TABLE_TYPE = dos
(thunar-volman:8761): thunar-volman-DEBUG:     ID_FS_UUID = 65db6cc8-eaea-4833-b04a-af4446284c55
(thunar-volman:8761): thunar-volman-DEBUG:     ID_FS_UUID_ENC = 65db6cc8-eaea-4833-b04a-af4446284c55
(thunar-volman:8761): thunar-volman-DEBUG:     ID_FS_VERSION = 1.0
(thunar-volman:8761): thunar-volman-DEBUG:     ID_FS_TYPE = ext4
(thunar-volman:8761): thunar-volman-DEBUG:     ID_FS_USAGE = filesystem
(thunar-volman:8761): thunar-volman-DEBUG:     ID_PART_ENTRY_SCHEME = dos
(thunar-volman:8761): thunar-volman-DEBUG:     ID_PART_ENTRY_TYPE = 0x83
(thunar-volman:8761): thunar-volman-DEBUG:     ID_PART_ENTRY_FLAGS = 0x80
(thunar-volman:8761): thunar-volman-DEBUG:     ID_PART_ENTRY_NUMBER = 2
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PRESENTATION_NOPOLICY = 0
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION = 1
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_SCHEME = mbr
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_NUMBER = 2
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_TYPE = 0x83
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_SIZE = 2147483648
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_FLAGS = boot
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_SLAVE = /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/host9/target9:0:0/9:0:0:0/block/sdc
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_OFFSET = 1862270976
(thunar-volman:8761): thunar-volman-DEBUG:     UDISKS_PARTITION_ALIGNMENT_OFFSET = 0
(thunar-volman:8761): thunar-volman-DEBUG:     DEVLINKS = /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_8IIHK1QG4ZB4ZZ1A9UXY-0:0-part2 /dev/disk/by-path/pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:0-part2 /dev/disk/by-uuid/65db6cc8-eaea-4833-b04a-af4446284c55
thunar-volman: Could not detect the volume corresponding to the device.
(thunar-volman:8784): thunar-volman-DEBUG: tvm_device_added:
(thunar-volman:8784): thunar-volman-DEBUG:     UDEV_LOG = 3
(thunar-volman:8784): thunar-volman-DEBUG:     DEVPATH = /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc1
(thunar-volman:8784): thunar-volman-DEBUG:     MAJOR = 8
(thunar-volman:8784): thunar-volman-DEBUG:     MINOR = 33
(thunar-volman:8784): thunar-volman-DEBUG:     DEVNAME = /dev/sdc1
(thunar-volman:8784): thunar-volman-DEBUG:     DEVTYPE = partition
(thunar-volman:8784): thunar-volman-DEBUG:     SUBSYSTEM = block
(thunar-volman:8784): thunar-volman-DEBUG:     ID_VENDOR = Lexar
(thunar-volman:8784): thunar-volman-DEBUG:     ID_VENDOR_ENC = Lexar\x20\x20\x20
(thunar-volman:8784): thunar-volman-DEBUG:     ID_VENDOR_ID = 05dc
(thunar-volman:8784): thunar-volman-DEBUG:     ID_MODEL = USB_Flash_Drive
(thunar-volman:8784): thunar-volman-DEBUG:     ID_MODEL_ENC = USB\x20Flash\x20Drive\x20
(thunar-volman:8784): thunar-volman-DEBUG:     ID_MODEL_ID = a764
(thunar-volman:8784): thunar-volman-DEBUG:     ID_REVISION = 1100
(thunar-volman:8784): thunar-volman-DEBUG:     ID_SERIAL = Lexar_USB_Flash_Drive_8IIHK1QG4ZB4ZZ1A9UXY-0:0
(thunar-volman:8784): thunar-volman-DEBUG:     ID_SERIAL_SHORT = 8IIHK1QG4ZB4ZZ1A9UXY
(thunar-volman:8784): thunar-volman-DEBUG:     ID_TYPE = disk
(thunar-volman:8784): thunar-volman-DEBUG:     ID_INSTANCE = 0:0
(thunar-volman:8784): thunar-volman-DEBUG:     ID_BUS = usb
(thunar-volman:8784): thunar-volman-DEBUG:     ID_USB_INTERFACES = :080650:
(thunar-volman:8784): thunar-volman-DEBUG:     ID_USB_INTERFACE_NUM = 00
(thunar-volman:8784): thunar-volman-DEBUG:     ID_USB_DRIVER = usb-storage
(thunar-volman:8784): thunar-volman-DEBUG:     ID_PATH = pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:0
(thunar-volman:8784): thunar-volman-DEBUG:     ID_PART_TABLE_TYPE = dos
(thunar-volman:8784): thunar-volman-DEBUG:     ID_FS_UUID = 5825-5602
(thunar-volman:8784): thunar-volman-DEBUG:     ID_FS_UUID_ENC = 5825-5602
(thunar-volman:8784): thunar-volman-DEBUG:     ID_FS_VERSION = FAT32
(thunar-volman:8784): thunar-volman-DEBUG:     ID_FS_TYPE = vfat
(thunar-volman:8784): thunar-volman-DEBUG:     ID_FS_USAGE = filesystem
(thunar-volman:8784): thunar-volman-DEBUG:     ID_PART_ENTRY_SCHEME = dos
(thunar-volman:8784): thunar-volman-DEBUG:     ID_PART_ENTRY_TYPE = 0x83
(thunar-volman:8784): thunar-volman-DEBUG:     ID_PART_ENTRY_NUMBER = 1
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PRESENTATION_NOPOLICY = 0
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION = 1
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION_SCHEME = mbr
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION_NUMBER = 1
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION_TYPE = 0x83
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION_SIZE = 1861222400
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION_SLAVE = /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/host9/target9:0:0/9:0:0:0/block/sdc
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION_OFFSET = 1048576
(thunar-volman:8784): thunar-volman-DEBUG:     UDISKS_PARTITION_ALIGNMENT_OFFSET = 0
(thunar-volman:8784): thunar-volman-DEBUG:     DEVLINKS = /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_8IIHK1QG4ZB4ZZ1A9UXY-0:0-part1 /dev/disk/by-path/pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:0-part1 /dev/disk/by-uuid/5825-5602
thunar-volman: Could not detect the volume corresponding to the device.

So, I guess my question is this:  Is there anyway outside of Gnome-Disk-Utility to create these virtual volumes, and have Thunar see them?  Or, are we doomed to a life full of a dozen gnome deps that seem to serve no other purpose than to allow automounting?

Thanks for any advice or help!

Offline

#2 2012-02-04 19:47:55

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: Trying to drop some gnome libs from gvfs dependency chain...

Hi Ahau. I'm not a developer nor even a programmer, just an 'end-user'.
I don't mean to hack the thread and hope you have some alternative for your issue.
But I was just wondering: these dependencies needed for auto-mount are small aren't they? What would be the issue to have them?

Offline

#3 2012-02-05 07:18:06

Ahau
Member
Registered: 2011-12-22
Posts: 27

Re: Trying to drop some gnome libs from gvfs dependency chain...

Thanks, secipolla.

I suppose "small" is a relative term.  In my case, the entire operating system (Porteus) is 250-300MB with kde3 or kde4, and I'd like to make it even smaller with XFCE, so I am watching every megabyte.  I also want it to work quickly and smoothly on older systems with less RAM.  It's not just gnome disk utility and gnome-keyring, it is also what they bring along with them.  GDU requires avahi which requires libdaemon if you want it to run as a daemon (if I bother to have it installed, I'd probably want to run it as a daemon).  Gnome-keyring has a number of dependencies in its chain as well.

The good news is, I've figured out that gnome-disk-utility can be compiled without gnome-keyring (did a big facepalm for that one after I typed out my first post), which will help out.  I think I'll have to stick with GDU, but dropping keyring and a number of other deps that are turning out to be optional ought to help me out.

If folks are interested in a more complete list of what I wind up with, just let me know.

Cheers!

Offline

#4 2012-07-04 17:13:21

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: Trying to drop some gnome libs from gvfs dependency chain...

Well done.
thunar-volman doesn't work for me in Fedora (I've even un-installed it), IIRC it didn't work in Debian, it didn't work either with the Phinx live-CD but works fine in Porteus (live-CD).

Offline

#5 2012-07-05 15:41:26

Ahau
Member
Registered: 2011-12-22
Posts: 27

Re: Trying to drop some gnome libs from gvfs dependency chain...

Thanks, secipolla!

Looking back at this thread, I was able to drop gnome-keyring, libgnomekeyring, GConf and ORBit and still had automounting working, but then we switched all editions of Porteus over to network-manager, which requires them...so they got wrapped back in after all smile

Offline

#6 2012-07-06 14:04:09

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: Trying to drop some gnome libs from gvfs dependency chain...

I let go of even starting to look at gvfs/udisks/udisks2 issues as to find out why auto-mount with thunar-volman doesn't work here.
So I built pcmanfm from git and its auto-mount feature works.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 632.26 KiB (Peak: 664.24 KiB) ]