Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 3 of 9 FirstFirst 12345 ... LastLast
Results 31 to 45 of 134

Thread: Cannot move up and down in a Setup screen

  1. #31
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Help keep OpenViX servers online.Please donate!

  2. #32
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Quote Originally Posted by abu baniaz View Post
    Are hardlinks used for recordings, just timeshift or both? If just for timeshift, is it possible to apply the newly added prohibition just for timeshift?
    Hardlinks are used for Timeshift, which is why the test is done in that module, but it makes sense we use identical file systems in both modules.
    Help keep OpenViX servers online.Please donate!

  3. #33
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,796
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    That won't work.
    That code picks up the file system type from /proc/mounts, which for ntfs will list it as fuseblk, as it's run by a user-space daemon. Other file-systems could also show up as fuseblk there and not work (such as exfat).
    The only real test for a file-system is to try hard-linking and check the result.
    Last edited by birdman; 19-12-21 at 13:30.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  4. #34
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    vfat shows as vfat. The tests for writeablility and hardlinks happen additionally.
    Help keep OpenViX servers online.Please donate!

  5. #35
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,796
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    vfat shows as vfat.
    Which has no relevance at all to ntfs, which doesn't show as ntfs.

    The tests for writeablility and hardlinks happen additionally.
    So why bother checking the file-system type at all? Although I can see why you might want a blacklist (e.g. to rule out tmpfs, which would pass the tests while not being useful for recordings).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  6. #36
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    You said:
    Quote Originally Posted by birdman View Post
    Other file-systems could also show up as fuseblk there and not work (such as exfat).
    The only real test for a file-system is to try hard-linking and check the result.
    Which is why I mentioned vfat (fat32).

    Anyway if it works add it to the list.
    Help keep OpenViX servers online.Please donate!

  7. #37
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,796
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    Anyway if it works add it to the list.
    >>Sigh<<.. There is no point, as it won't show up as ntfs but as fuseblk! And exfat would also show up as fuseblk, but that won't work.

    (Let's hope this doesn't go round the loop again.)

    So, why not make that list a blacklist rather then a whitelist, which makes much more sense if the writeable and hard-linkable tests also have to pass anyway.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  8. #38
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Add fuseblk. And anything that fails the hard link test won't be allowed.
    Help keep OpenViX servers online.Please donate!

  9. #39
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Also, if you want a black list can you compile one?
    Help keep OpenViX servers online.Please donate!

  10. #40
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,362
    Thanks
    6,443
    Thanked 9,160 Times in 6,235 Posts
    I don't see any reason why we should prevent users from using devices with working file systems for recording. As in the OP's case, even though he has been locked out of the menu, he can record/playback fine. For arguments sake, somebody's internal HDD on receiver fails, he can use an external ntfs one until replacement arrives.

    The hardlinks issue is specific to timeshift only, so any prohibitions should apply to that functionality only.

  11. #41
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,796
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    Also, if you want a black list can you compile one?
    I expect so. I'll track them down (whether a Vix system might have them or not).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  12. The Following User Says Thank You to birdman For This Useful Post:

    abu baniaz (19-12-21)

  13. #42
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,796
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    OK. Based on my laptop, plus a few more obvious ones (such as assuming you wouldn't want to use the UBI storage for recordings?) I've got a blacklist of:

    Code:
    autofs      binfmt_misc bpf     cgroup2 configfs    debugfs devpts 
    devtmpfs    efivarfs    exfat   fuse.portal     fuseblk     fusectl  
    hugetlbfs   isofs   jffs2   mqueue  proc    pstore  securityfs  sysfs    
    tmpfs       tracefs ubi     ubifs   udf     vfat
    There are others, but I can't see that they'd ever end up on a Vix box.
    Last edited by birdman; 19-12-21 at 20:25.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  14. #43
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,796
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Still leaves an issue for picons, which are only allowed on
    Code:
     frozenset(('ext4', 'ext3', 'ext2', 'reiser', 'reiser4', 'jffs2', 'ubifs', 'rootfs'))
    There's no hard-link test, so adding ntfs would be an issue. (And I have my picons on a vfat file-system, as I put them there "by-hand" rather than using the Plugin Browser, so have no hard links)
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  15. #44
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Quote Originally Posted by abu baniaz View Post
    I don't see any reason why we should prevent users from using devices with working file systems for recording. As in the OP's case, even though he has been locked out of the menu, he can record/playback fine. For arguments sake, somebody's internal HDD on receiver fails, he can use an external ntfs one until replacement arrives.

    The hardlinks issue is specific to timeshift only, so any prohibitions should apply to that functionality only.
    We are not stopping anyone from anything. Birdman and I are just discussing a formula we can all agree on. And anyway the project is open source so users can do what they like on there own box.
    Help keep OpenViX servers online.Please donate!

  16. #45
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Quote Originally Posted by birdman View Post
    Still leaves an issue for picons, which are only allowed on
    Code:
     frozenset(('ext4', 'ext3', 'ext2', 'reiser', 'reiser4', 'jffs2', 'ubifs', 'rootfs'))
    There's no hard-link test, so adding ntfs would be an issue. (And I have my picons on a vfat file-system, as I put them there "by-hand" rather than using the Plugin Browser, so have no hard links)
    Anyway picons use softlinks not hardlinks.
    Help keep OpenViX servers online.Please donate!

Page 3 of 9 FirstFirst 12345 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.