Warning: Undefined array key 0 in /var/www/tgoop/function.php on line 65

Warning: Trying to access array offset on value of type null in /var/www/tgoop/function.php on line 65
4311 - Telegram Web
Telegram Web
https://github.com/alexykn/sps

> I will scrap this project in favor of sps v2 some time in the future (when v2 is built and ready which might take a while). The reason is that I am planning to implement my own packaging system, my own version of atomic installs / updated complete with automatic snapshots and full, down to single package rollbacks + automatic cve checks and some other stuffs. After a lot of thinking and looking at Homebrew's architecture I've come to the conclusion that I do not like it (burn me for it ;). Defining my own build system will allow for a more performant and maintainable system in the long run. (Just a bit anxious about how to host packages / do all the repo stuff. Like really anxious but I'll figure it out)

好快的弃坑(
触发了什么(
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from &'a ::rynco::UntitledChannel (Rynco Maekawa)
Vincy SHI:
华为云的日志列表,按照日志大小排序,是字符串的字典序而非数值序,114 MB < 514 KB。
当看到这一切时,我大脑皮层的褶皱仿佛瞬间被抚平了、拉展了,有股瞬间的放松,就像漫步在挪威的森林,感觉自己又像是一只灵动的蝴蝶,允吸雨后的第一滴甘露,整个人犹如化成一滩潭水,缓缓流逝,慢慢平静...

https://x.com/Vincy1230/status/1930281338965504261?s=19z
🤔
Forwarded from encmasuta
encmasuta 编辑组祝各位高考考生考试顺利,考试时不要总想着成年了/毕业了要玩什么卡
😁2
Forwarded from Kenvix喵的活动日报
对于非流式的归档任务,几乎没有理由使用tar打包压缩,tar.gz tar.xz tar.zst 等格式不仅不支持随机读,甚至也不像未压缩的tar一样支持追加。使用这个给上世纪的磁带机设计的格式完全没有任何好处。当然,使用 zip 7z rar也不行,因为这些格式不能完整保留文件系统的元数据,也不支持硬链接,不能用于系统备份、归档。
我个人比较推荐的做法是使用 squashfs。例如,创建最高压缩率的zstd归档算法的squashfs:
mksquashfs /etc etc.squashfs -xattrs -comp zstd -Xcompression-level 22 -b 1M

-xattrs 参数在 mksquashfs 中用于保留扩展属性,包括ACL(Access Control Lists)和SELinux 上下文(security.selinux)以及其他命名空间下的扩展属性。至于软链接、硬链接和权限属性,默认就完整保留,不需要额外参数。因此也可以简化到 mksquashfs /etc etc.squashfs 表示使用 zlib 压缩算法,默认压缩率,保留上述特殊扩展属性以外的全部元数据。-b 1M 指定块大小1M,这是squashfs的最大值。

显然,squashfs格式天生就是为挂载而生的,要读取 etc.squashfs 的文件,只需挂载它到某个目录:
sudo mount -t squashfs -o loop etc.squashfs /mnt/etc

只列出文件(等效于 tar -tf 或 zcat | tar -t):
unsquashfs -l etc.squashfs
unsquashfs -l etc.squashfs /profile.d # 列出 profile.d 文件夹

解压特定文件(等效于 tar -x 某文件):
unsquashfs -f -d extracted etc.squashfs passwd

解压整个 squashfs(不挂载):
unsquashfs etc.squashfs


对于Windows,可以使用 7zip NanaZip 等软件打开squashfs包,也可以直接在WSL2内用上述命令挂载。

EroFS就不推荐了,mkfs.erofs 目前坑比较多,用起来很复杂,不像 squashfs 安装轻松简单。

#Linux
Forwarded from &'a ::rynco::UntitledChannel (Rynco Maekawa)
“说老实话,得夸一下苹果在 2025 年还能坚持多元化原则,毕竟他们雇了一个 100% 盲人的设计团队”
https://fixupx.com/ChrisJBakke/status/1932280324031185037
🌚1
要不是富途把存量证明改成了海外生活证明,我还开不出来(
目前 iPadOS 26 DB1 用到现在最绝望的问题是我没法在中文键盘输入全角符号了
1😁1
...真是史前 bug 了
Forwarded from 不存在的世界
🤡1
emit Light();
目前 iPadOS 26 DB1 用到现在最绝望的问题是我没法在中文键盘输入全角符号了
DB1 似乎也把 Windowed Apps 和 Stage Manager 不限型号全量下放了,之前 Stage Manager 只有大屏 + M 系列芯片的 iPad 才能用,现在 mini 也能双开清日常了,不知道后续会不会再砍掉(
👍2
2025/07/13 11:34:18
Back to Top
HTML Embed Code: