Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4203 - gnome-volume-manager detects windows partitions as removable media

Attached to Project: Arch Linux
Opened by Viktor Peters (Mythoz) - Monday, 20 March 2006, 09:07 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

gnome-volume-manager 1.5.15-3 detects Windows partitions (NTFS, FAT) as removable media.

hal 0.5.7-2 output for one of the partitions:

udi = '/org/freedesktop/Hal/devices/volume_uuid_00000000F8521C5C'
info.hal_mount.mounted_by_uid = 1000 (0x3e8) (int)
info.hal_mount.created_mount_point = '/media/Tools' (string)
volume.unmount.valid_options = {'lazy'} (string list)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-system-storage-mount', 'hal-system-storage-unmount', 'hal-system-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
volume.ignore = false (bool)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_00000000F8521C5C' (string)
volume.partition.msdos_part_table_type = 7 (0x7) (int)
info.product = 'Tools' (string)
volume.size = 8389753344 (0x1f4117a00) (uint64)
volume.num_blocks = 16386237 (0xfa08bd) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 5 (0x5) (int)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = true (bool)
volume.mount_point = '/media/Tools' (string)
volume.label = 'Tools' (string)
volume.uuid = '00000000F8521C5C' (string)
volume.fsversion = '3.1' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'ntfs' (string)
storage.model = '' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_VNVD02G4G5MD0G' (string)
block.is_volume = true (bool)
block.minor = 5 (0x5) (int)
block.major = 3 (0x3) (int)
block.device = '/dev/hda5' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/storage_serial_VNVD02G4G5MD0G' (string)
linux.sysfs_path_device = '/sys/block/hda/hda5' (string)
linux.sysfs_path = '/sys/block/hda/hda5' (string)
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 21 March 2006, 18:29 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Monday, 20 March 2006, 14:02 GMT
The NTFS partition on this system shows up as a regular fixed disk, but I can't mount it because pmount is only allowed to mount removable disks... After mounting it, it shows up as a fixed disk also.
Comment by Viktor Peters (Mythoz) - Monday, 20 March 2006, 18:09 GMT
It's very strange. When I login (through GDM) all partitions are automaticly mounted even though the user don't have the rights for this (I think so).

$ mount | grep hda5
/dev/hda5 on /media/Tools type ntfs (rw,noexec,nosuid,nodev)

$ ll /dev/hda5
brw-rw---- 1 root disk 3, 5 2006-03-20 19:31 /dev/hda5

$ groups
log video audio optical floppy storage input users p2p


Also strange: I can unmount hda5 with pumount (unexpected) but not mount it again (expected):

$ pumount /dev/hda5
$ mount | grep hda5
<nothing>

$ pmount /dev/hda5
Error: device /dev/hda5 is not removable


Comment by Viktor Peters (Mythoz) - Tuesday, 21 March 2006, 17:45 GMT
I have examined the hal output and gvm source more closly. The new hal exports/lists all partitions now and gvm mounts all of them automaticly. The only way to prevent this is by setting hal key "volume.ignore" to true.

So this "bug" is a feature and can be closed... :>

Loading...