#Computing
#FileSystem
#DataCreep

So I am currently moving all my personal files from the laptops internal drives to external. I am not planning a rebuild or anything at the moment.

I need to go through and clean out my personal file system.

We are talking years worth of files just added on top of each other. I need to clean it out.

Input/Output Error on accidentally unplugged external drive #filesystem #externalhdd #fsck #fat32

https://askubuntu.com/q/1564927/612

Input/Output Error on accidentally unplugged external drive

I have an external disk for my Wii games. While I was working on it, I accidentally unplugged it. I was worried about having an error or something, so I used the following prompt sudo fsck -f /dev/...

Ask Ubuntu

Do you know how in emails you often have a "folder/directory" system and a "tag/label" system?

At the beginning I though you were supposed to choose one of them because they worked pretty much the same way.

But actually they work differently.

Tags have the benefit of letting you attach them to any item at any level of your hierarchy.
That is: you can put an email from "HR" in the "/Work/HR" folder and also add tags like "meeting" or "irrelevant" to it. Without having to create a "Meetings" folder where you put every single meeting email and have that folder show up in every directory.

It is a shame that there is really no conventional filesystem that has tags built-in.
Microsoft tried something like that with WinFS but it was never distributed.

Luckily some file browsers allow tags or colors to be set for individual files, and that's okay but not as good as having it on the filesystem level.

#Linux #Filesystem

Yet another Linux filesystem creator loses his mind. This time to AI psychosis https://www.theregister.com/2026/02/25/bcachefs_creator_ai/

#AI #AIPsychosis #Psychosis #BcacheFS #Linux #Filesystem #KentOverstreet

Bcachefs creator insists his custom LLM is female and 'fully conscious'

: It's not chatbot psychosis, it's 'math and engineering and neuroscience'

The Register
One thing I like a lot about #plan9 / #inferno is the idea that lots of useful things are served/represented as filesystems which can be easily mounted between machines. Famously "vpn"ing a process involves bind mounting a remote machine's networking #filesystem over your workstations own (inside that process's namespace). Want to use another computer's mouse? Just mount that device over the network into your process. 1/?

Now this is an interesting #Python problem. I don't know if it's a #bug, but it's a change in behaviour that I don't see documented.

I upgraded from #Debian 12/Bookworm to 13/Trixie, so the default Python3 changed from 3.11 to 3.13. A script of mine broke, because `pathlib.Path.is_mount()` changed behaviour when the path is a symlink (at least to a directory).

i.e. I'm testing a path that is a symlink. The symlink points to a directory. That directory *is* a mountpoint. The `.is_mount()` test in 3.11 returned True, while in 3.13 it returns False.

This seems wrong to me. Most path-manipulation functions transparently treat symlinks as if they were the pointed-to object unless you pass an option/flag specifically to say you want the symlink itself.

Gonna have to dig to see what else I can find.

#pathlib #path #is_mount #stdlib #behaviour #symlink #filesystem #mountpoint #mount

今天下午,我的 Pixelfed 实例突然无法 fetch 外站的帖子和通知;折腾了一会无法解决,决定从 Pixelfed-Glitch 切换到原版 Pixelfed,期间 Chuckya(Fork Of Mastodon:Glitch-soc)也“莫名其妙”down 掉了。

具体原因:Pixelfed 和 Chuckya 都在 caddy_net 里给数据库起名叫 db,Docker 的内部 DNS 乱了,导致 Mastodon 连接到了 Pixelfed 的 DB(这个问题也出现在 Chuckya 的 Tor 上,需要指定 chuckya-web-1 解决)。

建议:
如果使用caddy-docker-proxy而且使用同一个caddy_net,不要在 docker-compose.yml 里直接用 db 或 redis 这样的通用名,使用 pixelfed-db、pixelfed-redis、chuckya-db、chuckya-redis 更好。

头像消失:
发现头像消失了,原因是 Pixelfed 默认把本站图片、视频、外站头像存储在 S3:

本站图片视频:r2:bucket pixelfed/public/m/_v2/.../.../xxx.
外站头像:r2:bucket pixelfed/cache/avatars/id/xxx.jpg

本站用户头像则存储在本地磁盘。路径也有区别:

Pixelfed-Glitch:docker-compose-state/data/pixelfed/storage/app/public/avatars
Pixelfed:storage/app/public/avatars

所以迁移实例需要运行同步:

rsync -av /旧实例根路径/docker-compose-state/data/pixelfed/storage/app/public/avatars/* /新实例根路径/storage/app/public/avatars/

强制全站 S3 存储:
因为 Pixelfed 默认不允许 filesystem 直接修改,如果一定要将所有文件全部放在 S3,需要在 .env 开启:
DANGEROUSLY_SET_FILESYSTEM_DRIVER=s3
原因:

docker compose exec pixelfed grep FILESYSTEM config/filesystems.php
'default' => env('DANGEROUSLY_SET_FILESYSTEM_DRIVER', 'local'),

此时头像会出现在r2:bucket pixelfed/public/avatars/id/xxx.jpg
验证输出 s3 即代表切换成功:

docker compose exec pixelfed php artisan tinker --execute="echo config('filesystems.default')"

#S3 #Mastodon #运维 #Docker #Caddy #Pixelfed #Filesystem #DNS #Chuckya #migration #Selfhosting #selfhosted

How to best organize various different-sized drives for data, apps and games #partitioning #mount #harddrive #filesystem #lvm

https://askubuntu.com/q/1564681/612

How to best organize various different-sized drives for data, apps and games

Newbie here, looking to properly organise the various hard drives in my PC. I'm on a fresh 25.10 install. I have Name Type Size sda HDD 2 TB sdb SSD 1 TB nvme0n1 SSD 500 GB During installation I went

Ask Ubuntu

@doskel Only if we can force operating system developers to support two things:
1. log-structured file systems, to move wear leveling to the OS's responsibility
2. file systems that separate short-term and long-term storage, to move the SLC/TLC or CMR/SMR divide to the OS's responsibility

#FileSystem #SSD #FlashDrive #ShingledMagneticRecording #SMR