So if they work they can be added here... and here:
https://github.com/OpenViX/enigma2/b...ordings.py#L88
https://github.com/OpenViX/enigma2/b...meshift.py#L72
So if they work they can be added here... and here:
https://github.com/OpenViX/enigma2/b...ordings.py#L88
https://github.com/OpenViX/enigma2/b...meshift.py#L72
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
vfat shows as vfat. The tests for writeablility and hardlinks happen additionally.
Which has no relevance at all to ntfs, which doesn't show as ntfs.
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).The tests for writeablility and hardlinks happen additionally.
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
>>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
Add fuseblk. And anything that fails the hard link test won't be allowed.
Also, if you want a black list can you compile one?
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.
abu baniaz (19-12-21)
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:
There are others, but I can't see that they'd ever end up on a Vix box.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
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
Still leaves an issue for picons, which are only allowed on
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)Code:frozenset(('ext4', 'ext3', 'ext2', 'reiser', 'reiser4', 'jffs2', 'ubifs', 'rootfs'))
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