Bug#314985: pmount: doesn't work with kernel 2.6.12

2005-06-20 Thread Martin Pitt
Hi! Daniel Bayer [2005-06-19 22:46 +0200]: I just updated to kernel 2.6.12 and now I can't mount my usb harddrive with pmount anymore because it is not marked as removeable in /sys: | [EMAIL PROTECTED]:/ $ cat /sys/block/sdb/removable | 0 | [EMAIL PROTECTED]:/ $ My usbstick still works

Bug#314985: pmount: doesn't work with kernel 2.6.12

2005-06-20 Thread Daniel Bayer
Hello, On Mon, Jun 20, 2005 at 08:40:52AM +0200, Martin Pitt wrote: Daniel Bayer [2005-06-19 22:46 +0200]: I just updated to kernel 2.6.12 and now I can't mount my usb harddrive with pmount anymore because it is not marked as removeable in /sys: | [EMAIL PROTECTED]:/ $ cat

Bug#314985: pmount: doesn't work with kernel 2.6.12

2005-06-20 Thread Daniel Bayer
Hello, after some digging I think I found the problem in the function sysfs_get_device_parent() of libsysfs1. If called by pmount it alway returns NULL. I think this is because it tries to get the parent by removing the last part of the pathname. To make sure that it really gets a device it

Bug#314985: pmount: doesn't work with kernel 2.6.12

2005-06-19 Thread Daniel Bayer
Package: pmount Version: 0.8-2 Severity: normal Hello, I just updated to kernel 2.6.12 and now I can't mount my usb harddrive with pmount anymore because it is not marked as removeable in /sys: | [EMAIL PROTECTED]:/ $ cat /sys/block/sdb/removable | 0 | [EMAIL PROTECTED]:/ $ My usbstick still