You people ARE treating TrueNAS like it is a desktop. I don’t know how else to stress how idiotic this request is (or how stupid it is for 7z to be included in CORE). More unnecessary packages will only result in more security issues. Please explain why if libarchive is already being maintained then why would you add something else for the same results?! One tool, not two!
So if you already have the ability–with base tools–to (un)zip, (un)7zip, (un)gzip, and probably half a dozen more formats then why do you need another tool? …And if you do add another (unnecessary-maintained-somewhere-else) tool like what someone did in this thread you should do it in a jail of some sort (because this is probably for data you did not create yourself)!
man 3 libarchive
So let’s talk about minio and why it has a dependency on some other tool. What is minio and why do I need it on my TrueNAS?
7z x myArchive.rar
Everything is Ok
Folders: 1
Files: 10
Size: 1041155
Compressed: 127854
For multivolume, password-protected, and recently created archives (e.g, WinRAR 7), 7-zip is superior to libarchive. (In fact, it’s mandatory in some cases.)
Patrick is correct. There is some legitimate value in being able to do some basic file manipulation directly on the NAS. Compress / decompression makes sense in some scenarios to have available in the base system.
Additionally with docker support, there is a lot of value in being able to run one-liner shell commands to run arbitrary images that manipulate files on-disk as well. Thinking of the case to use tools like ffmpeg or imagemagik to do media conversion and manipulation tasks directly on the storage array.
So the question is where is the line? Which file types and operations do you support in base? Do you only offer “support” for archives but not MP3s or PNGs and what extra overhead are you willing to incur.
Copying, moving, renaming, extracting, compressing, etc. It’s not that extreme.
I don’t know why you’re trying to conflate multimedia encoding, graphics editing, and audio streaming with the basic usage of extracting archive files.
It’s for the same reason it makes sense to have checksum tools immediately available on the server itself, without the need to rely on a container or VM, nor have to transfer the file over the local network just to run a checksum.
There’s a difference between FFmpeg and sha256sum. There’s a difference between MPlayer and 7z.
Man, I’m not sure why you have to be so argumentative about everything… Do I need to put you in time-out? That is the whole reason for the request, and we are evaluating if the impact is minimal enough to warrant including it. A few MB here or there to enable some storage relevant operations isn’t the end of the world. Chill.
For me my use case is i store VM images/backups on truenas and these can be in excess of 100GB. Having them in a ZIP file usually halfs that if not more but having to move the backups to my PC to zip the backup is time consuming and sometime more work than its worth as i have to try to make space to fix the backup and the compressed backup.
I want to be able to copy the backup to truenas and compress it there. Doing it with a container if fine but just slow the whole process down.