#Filesystems

2025-06-04

Folks who know "rsync -F" because they already use it -- am I right in thinking that it adds these behaviours to a sync:

- recursively look for .rsync-filter files in every directory in the copy source, including the top-level

- apply the filters they each contain to the directory and subdirectories rooted at the same level that each file was found

- exclude those .rsync-filter files from being copied to the destination

Is that right? #rsync #sync #data #sysadmin #filesystem #filesystems

2025-05-29

@cks

Which in turn then prompts the question of whether one with suitable chicanery could set it up as a correct i-node which fsck would consider allocated, but that would be unfixable.

Presumably the reference counting checks would detect it as an an orphan, but putting a directory entry referencing it in lost+found would not work.

Assuming that the reference counting pass does not also have a < ROOTINO short-circuit in the code too. (-:

#Unix #filesystems #FFS #UFS #FreeBSD

2025-05-29

@cks

The same thought occurred to me. There have been cute tricks like that played. I've even played some of them on other systems.

But as far as I know that first entry in the i-node table was just unused.

I wonder whether fsck even checked it. Modern FreeBSD fsck_ffs does, but that's a very different beast.

#Unix #filesystems #FFS #UFS

2025-05-29

@cks

Off By One Error in your post on this. (-:

Since 0 means a free directory entry, that's only 65535 i-nodes.

Mind you, at 8 i-nodes per block, you'd come close to the size of some contemporary discs with a maximally sized i-node table.

#Unix #filesystems

2025-05-29

@spacehobo @brouhaha

Yes. Berkeley FFS broke things up into cylinder groups and had an allocation policy of putting various things in the same CG and other things not, because much the same idea was also useful for reducing seeks on discs.

(Even OS/2 got in on the act. (-: Its FAT filesytem driver put the extended attributes record for every file in front of the file data where it could. Which was why it was a bad idea to defragment the "EA DATA. SF" file so that it ended up stuffed all at the start of the volume.)

And the elevator algorithm in the block cache would at least make the tape do straight runs in one direction and then rewind, where it could.

Putting filesystem *and* swap on tape boggles the mind, though. (-:

#Unix #magtape #filesystems #tar #DEC #retrocomputing

Peter N. M. Hansteenpitrh
2025-05-29

Making openat(2) and friends more useful in practice undeadly.org/cgi?action=articl - now also with regression tests, more discussions on tech@

2025-05-27

@atoponce

There seem to be no answers matching "back". Both options match "up".

I think that you've overlooked an even more important poll that might be the shibboleth of our time: Does one go up and down a tree? Or does one go back and forth a tree?

Has the tree been chopped down?

(-:

#shell #POSIX #filesystems

Anselm Schüleranselmschueler@ieji.de
2025-05-24

PSA: If your software intended for #Linux cannot deal with filenames that contain
- spaces
- command line flags
- non-ASCII
- newlines
- control characters
- invalid UTF-8
then YOUR SOFTWARE IS WRONG AND BAD
and when it breaks IT IS YOUR FAULT and you DO NOT GET TO BLAME THE PEOPLE WHO NAMED THE FILES

#filesystems

2025-05-17

This blog 0pointer.de/blog/projects/lock draws a pretty bad situation about file #locking on #Linux #filesystems. But it is from 2010 - does anybody know if the situation has technically improved since than?

Droppie [infosec] 🐨:archlinux: :kde: :firefox_nightly: :thunderbird: :vegan:​MsDropbear42@infosec.space
2025-05-13

BtrFS completely sucks & i shall never again make the error of using it instead of ext4. 😡

#BtrFS #ext4 #linux #filesystems #ArchInstall #ArchLinux #VM

An ArchInstall VM i created ~month ago, for which i accepted the BtrFS default, & which has worked fine til today, when once again this pathetic filesystem ate itself. Never again. During use today, it forgot what `sudo` was, so somewhat disturbed i tried to reboot it, which after 15' of tty console error msgs i eventually forced off, then this, upon each subsequent reboot attempt... BtrFS error msgs indicating a serious failure of it, LUKS, or both, ending in an emergency shell, rather than actually booting.
2025-04-27

#Linus #Torvalds Expresses His Hatred For #CaseInsensitive #FileSystems - #Slashdot
" Dammit. Case sensitivity is a BUG. The fact that filesystem people *still* think it's a feature, I cannot understand. It's like they revere the old FAT filesystem _so_ much that they have to recreate it — badly."
I do like his direct approach! Even if I grew on #AmigaFFS which was "almost case-insensitive"
linux.slashdot.org/story/25/04

2025-04-23

"The Impact of Microsoft’s ReFS on DFIR" -> comparing NTFS evidences with ReFS. What stays, what changes and what will be gone. Recommended read! medium.com/@mathias.fuchs/the- #DFIR #ReFS #NTFS #filesystems

2025-04-20

Seeing this toot mstdn.social/@elfin/1143718001

Reminded me of the time at BNR their SUNOS filesystems suddenly had '/' in filenames due to a buggy MAC link. Yes it took fsdb to fix the problem.

#Filesystems #BSD #BNR

John Leachjohnl
2025-04-03

TIL that xfs has supported copy-on-write reflink copies for years (Kernel 4.9.1 in 2017!), where as zfs only got it last year (and it is not considered stable!)

blogs.oracle.com/linux/post/xf

N-gated Hacker Newsngate
2025-03-30

🥴 Ah, the 2019 classic where we learned that file systems are apparently incapable of managing distributed storage—because who knew they weren't designed for it? But first, make sure you enable and , because reading this revelation requires a digital permission slip. 🍪🔑
dl.acm.org/doi/pdf/10.1145/334

2025-03-18

[2022] OpenBSD transforms a bag of blocks into useful filesystems - Ken Westerback

exquisite.tube/w/p64f1RokVy3fn

Paul HouleUP8
2025-03-12

💪 3FS: A high-performance distributed file system designed to address the challenges of AI training and inference workloads

github.com/deepseek-ai/3FS

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst