View Single Post
Old 02-13-2015, 10:15 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error indicates that your system is mounting the vfat partition with broken options.

The stat() call for /media/TREKSTOR/Ebooks is failling indicating it does not exist, and then the mkdir() call is failing indicating it does exist.

In other words, stat() is case sensitive, but mkdir is not. That is just wrong.

Either delete the folder and let calibre create is for you or rename it to have the case calibre expects. Or better yet fix your system to use the correct mount options for vfat.

EDIT: Just for completeness, it will likely be some mixture of the shortname and iocharset/utf8 mount options. Here are the options from my system for vfat devices. (rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1000 ,fmask=0022,dmask=0077,codepage=437,iocharset=iso8 859-1,shortname=mixed,showexec,utf8,flush,errors=remou nt-ro,uhelper=udisks2)

Last edited by kovidgoyal; 02-13-2015 at 10:22 PM.
kovidgoyal is offline   Reply With Quote