mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#filesystem

5 posts2 participants0 posts today
Continued thread

... #BetrFS betrfs.org/ ...

『… in-kernel file system that uses Bε trees to organize on-disk storage. Bε trees are a write-optimized dictionary, and offer the same asymptotic behavior for sequential I/O and point queries as a B-tree. The advantage of a B ε tree is that it can also ingest small, random writes 1-2 orders of magnitude faster than B-trees and other standard on-disk data structures.』

www.betrfs.orgBetrFS

#linux #cs #computer #science #directory #fileSystem

Yesterday I extracted the contents of an initrd.img that came packaged in a Fedora distribution. From kernel.org I learned this mini-os can be used by the kernel during the bootup process.

I guess I could have mounted the directory to play with the tools it is configured with. But I realized I do not know the difference between a directory and a file system.

Please help me understand what is the difference between these two concepts.

Continued thread

... Note that "df | awk" & "zfs list" commands are not equivalent ...

1.a- "#df(1)" will only have output for the mounted file systems.

1.b- "zfs-list(8)" will have output for both {un,}mounted file systems.

2- Related to above, if another file system is also mounted on a mount point, "df(1)" will show the latter. While #ZFS will still show (which it should) the dataset as being mounted (same named property with value of "yes") even if it has been shadowed|hidden.

"df(1)" output processing in "awk(1)" to fetch the #ZFS dataset from the #fileSystem mountpoint on #FreeBSD 14 …

df -t zfs --libxo=json,pretty /var/{cache/pkg,db} \
| awk '/"name":/ { gsub( "(^\"|\",?$)", "", $NF); print $NF }'
var-2/cache-pkg
zroot2/var/db

Does anyone have a better idea (besides parsing "zfs-list(8)" output)?

Ha! Simpler …

zfs list -H -o name /var/{cache/pkg,db}
var-2/cache-pkg
zroot2/var/db

Included in that is "sort -u" as bonus!

Eh, not quite☝ freeradical.zone/@ax6761/11484

Free Radicalax6761 (@ax6761@freeradical.zone)... Note that "df | awk" & "zfs list" commands are not equivalent ... 1.a- "#df(1)" will only have output for the mounted file systems. 1.b- "zfs-list(8)" will have output for both {un,}mounted file systems. 2- Related to above, if another file system is mounted on a mount point, "df(1)" will show the later. While #ZFS will still show the dataset as being mounted (same named property with value of "yes") even if it shadowed|hidden. #fileSystem
In the movie Hackers (1995), a group of nerds hack into computer networks to outsmart corrupt authorities and uncover a conspiracy.

The film features a mix of retro computing aesthetics, cyberpunk themes, and real-life cybersecurity concepts like sudo and root access.



#hackers #retro #computing #cybersecurity #cyberpunk #movies #sudo #root #god #cyberspace #datasecurity #hacking #computers #network #blackhat #whitehat #cyberpunkaesthetic #computers #filesystem #fisherstevens #pennjillette

I wanted to store some #BorgBackup archives on an #exFAT disk so that any operating system (not just #Linux) could easily read it, but Borg needs a journaling #filesystem. 😢

In theory, there isn't any reason why journaling can't be implemented on FAT 🤔 but everybody probably doesn't consider it worth the effort.

#NTFS would work too, except some of the #Linux machines I run Borg on are running Debian Stable, whose old kernel lacks the ntfs3 driver. 🤦‍♂️

My daughter has a friend whose sibling is no longer alive, as of recently. The family wants to access their MacBook Pro which is password protected. It's a fairly recent model, apparently, and it's unclear whether the disk is encrypted -- prob safe to assume it is (?).

Is there something Apple can/will do to help the family gain access, given proof of the situation?

#Apple#macOS#Mac