More > JRiver Media Center 21 for Linux

Images in Views not displaying, Ubuntu 14.04 latest MC

<< < (3/3)

bob:

--- Quote from: r1pp3r on January 17, 2016, 12:08:33 pm ---It appears that fallocate doesn't work on encrypted partitions - my home partition is encrypted.

I moved the .jriver folder to a non-encrypted partition, soft-linked from the Home directory and ran up mediacenter. Voila! Pretty pictures!

There's probably a small penalty for accessing the MC database through the soft-link but it's negligible in my case.

The fallocate man-page doesn't mention encryped partitions so I'll report it to Ubuntu.

Regards, Roger.

--- End quote ---
Nice find!
fallocate is used in MC to preallocate a file block.
The reason it's used is that it's much faster than ftruncate.

bob:

--- Quote from: bob on January 18, 2016, 03:55:02 pm ---Nice find!
fallocate is used in MC to preallocate a file block.
The reason it's used is that it's much faster than ftruncate.

--- End quote ---
Changed it to use ftruncate if fallocate isn't supported.

r1pp3r:

--- Quote from: bob on January 18, 2016, 04:08:45 pm ---Changed it to use ftruncate if fallocate isn't supported.


--- End quote ---

Nice.

BTW, the image import facility is very impressive, especially with multiple albums:)

I've not thrown my entire library at it, but it's dealing with sizeable chunks quite nicely.

Cheers, Roger.

Navigation

[0] Message Index

[*] Previous page

Go to full version