[mythtv-users] mythfs.py odd behaviour

Phil Linttell phil.linttell at rogers.com
Wed Jun 9 20:12:02 UTC 2010


 Hi all,

I'm running 0.23-fixes, and have been playing with mythtv.py (from the
contrib directory, and the wiki) and seeing some odd behaviour.

I can create the fuse filesystem okay, as follows:

    # mythfs Recordings,'%U/%T/(%oy%om%od) %S' /mnt/mythfs -o ro,allow_other

When I try to list directories in the mythtv filesystem, sometimes I'll
just get:

    phil at family:/mnt/mythfs/Teen$ ls -l
    ls: reading directory .: Invalid argument
    total 0

If I try again I might get just "part" of the listing:

    phil at family:/mnt/mythfs/Teen$ ls -l
    ls: cannot access Crankworx: Invalid argument
    ls: cannot access Descent- Snow: Invalid argument
    ls: cannot access X-Play: Invalid argument
    [...]
    total 0
    ?????????? ? ? ? ?                ? 2010 FIFA World Cup South Africa
    ?????????? ? ? ? ?                ? Behind the Music
    ?????????? ? ? ? ?                ? Cops
    ?????????? ? ? ? ?                ? Crankworx
    ?????????? ? ? ? ?                ? Cribs
    ?????????? ? ? ? ?                ? Criss Angel Mindfreak
    ?????????? ? ? ? ?                ? Descent- Bike
    ?????????? ? ? ? ?                ? Descent- Snow
    [...]

And if I keep trying, I'll get it all...

    phil at family:/mnt/mythfs/Teen$ ls -l
    total 21
    dr-xr-xr-x 1 root root  1 2010-05-06 08:28 2010 FIFA World Cup South
    Africa
    dr-xr-xr-x 1 root root  3 2010-06-07 17:00 Behind the Music
    dr-xr-xr-x 1 root root  4 2010-06-09 15:00 Cops
    dr-xr-xr-x 1 root root  1 2010-03-23 10:49 Crankworx
    dr-xr-xr-x 1 root root  4 2010-04-03 22:31 Cribs
    dr-xr-xr-x 1 root root  3 2010-05-09 01:00 Criss Angel Mindfreak
    dr-xr-xr-x 1 root root  4 2010-05-20 08:16 Descent- Bike
    dr-xr-xr-x 1 root root 17 2010-06-09 14:30 Descent- Snow
    [...]

If I keep listing, I'll see all the files. But if I wait a little while,
the behaviour goes back to showing no, or only part, of the listing.


Same sort of behaviour looking at it in a file manager.... sometimes
empty folders.... refresh... full folder.  If I can see a file, I can
open it okay.

Is there some sort of timeout in mythfs.py or tuning I can do related to
fuse that will allow it to remember files longer?


Thanks,
Phil


More information about the mythtv-users mailing list