mountpoint with "\" are not managed

Bug #1524806 reported by Diego-ercolani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Won't Fix
Undecided
Unassigned
openSUSE
New
Undecided
Unassigned

Bug Description

In linux (OpenSUSE_42.1_leap, but also everywhere where is used udisk) , my case is that my username is the form:

<DOMAIN>\<username>

so the mountpoint of devices are in the form of

/run/media/<DOMAIN>\<username>/<driveA>
...
/run/media/<DOMAIN>\<username>/<driveN>

and that's what's happening when I plug my tolino in the system and calibre try to understand it:

Found device nodes: /dev/sdh /dev/sdg None
The mountpoint /run/media/<DOMAIN>\134<username>/tolino/ is readonly, ignoring it
The mountpoint /run/media/<DOMAN>\134<username>/tolinoext/ is readonly, ignoring it

really the mountpoint isn't readonly, the problem is that:
"/run/media/<DOMAIN>\134<username>/tolino/" is not "/run/media/<DOMAIN>\<username>/tolino/"

infact if I create
ln -s /run/media/<DOMAIN>\<username>/tolino" "/run/media/<DOMAIN>\134<username>/"

calibre can recognize the ebook reader and after in some other place of the source file it break the access to the reader filesystem

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1524806

This is not worth the effort for me personally. If some one else wants to implement it, I will be happy to supply any needed guidance. If so, re-open the ticket and we can discuss it.

 status wontfix

Changed in calibre:
status: New → Won't Fix
Revision history for this message
Diego-ercolani (diego-ercolani) wrote :

If you want I can try however I'm not too friend of python, but I think is only a matter of "encoding" and "decoding" of non strictly-[:alnum:] characters?

Revision history for this message
Kovid Goyal (kovid) wrote :

Sure, feel free to try, setting up a development environment is described here:
http://manual.calibre-ebook.com/develop.html

The relevant code will be in usbms/device.py search for udisks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.