Ticket #4707 (closed defect: wontfix)
Unable to mount ext3 partition of device
| Reported by: | andersromeo | Owned by: | kovidgoyal |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Command Line Interface | Version: | trunk |
| Keywords: | Cc: | andersromeo@… |
Description
Trying to attach my Nokia N810 and running "calibre-debug -d" from Linux with the current code (after 0.6.36) results in a mount failure:
Devices possibly connected: Nokia 810 Device Interface, mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
Trying to open Nokia 810 Device Interface ... failed Opening of the following devices failed <calibre.devices.nokia.driver.N810 object at 0x928028c> Traceback (most recent call last):
File "/home/kovid/build/calibre/src/calibre/devices/init.py", line 84, in debug File "/home/kovid/build/calibre/src/calibre/devices/usbms/device.py", line 621, in open File "/home/kovid/build/calibre/src/calibre/devices/usbms/device.py", line 597, in open_linux
Device Error?: Unable to mount main memory (Error code: 32)
I think this is due to my reformatting of the device with the ext3 file system, while the code in linux_mount_helper.c, line 74, seems to insist on mounting a vfat partition.
Why not simply drop the "-t vfat" option (and potentially other ones as well)? Manual mounting (as root) via "mount /dev/sdb1 /media/N810\ Main\ Memory" works like a charm.
