techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#filesystem

5 posts2 participants0 posts today

#linux
#filesystem
#justLearned
#BTRFS
#student

I saw BTRFS when I called gmesg. I turned off Bluetooth on machine before hand, and I was alarmed... Blue Tooth Radio Frequency... ? FORTUNATELY, after I searched info, I found and learned this is a type of file system.

From btrfs.readthedocs.io/en/latest/ :

"BTRFS is a modern copy on write (COW) filesystem for Linux aimed at implementing advanced features while also focusing on fault tolerance, repair and easy administration."

btrfs.readthedocs.ioWelcome to BTRFS documentation! — BTRFS documentation
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

🐢 Ah, the classic story of "let's reinvent the wheel, but with extra steps"! 🚀 Instead of using ls like mere mortals, let's sprinkle some #io_uring magic dust on it and call it a day. Because clearly, what the world needed was a multi-pipeline, issue-ridden version of listing files! 🙃
tangled.sh/@rockorager.dev/lsr #reinventingthewheel #filesystem #innovation #techhumor #programmingstruggles #HackerNews #ngated

tangled.sh@rockorager.dev/lsrls but with io_uring

#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. 🤦‍♂️

How to Copy, Move, and Delete Files with cp, mv, and rm: Table of Contents Why You Need to Master cp, mv, and rm A Tale of Lost Files and Midnight Panic How Do cp, mv, and rm Work? Quick Algorithms & Structure Real-World Use Cases & Their Benefits Step-by-Step: Copy, Move, and Delete Like a Pro Mini Glossary: Real-Talk Definitions Examples, Cautionary Tales, and Pro Tips... mangohost.net/blog/how-to-copy #blogpost #disks #filesystem

Creating Files and Folders with mkdir and touch – Simple Examples: Table of Contents What’s This All About? Dramatic Real-World Problem: The “Where’s My Folder?!” Panic Why Files and Folders Matter (More Than You Think) How Does mkdir and touch Actually Work? Tree of Use Cases – When and Why Step-By-Step: Fast Setup with mkdir & touch Mini Glossary (The Real-World, No-Nonsense Edition) Examples and Cases:... mangohost.net/blog/creating-fi #blogpost #disks #filesystem