FATATTR(1)

✨ FATATTR ✨

okay bestie, so this is fatattr from the H. Peter Anvin cinematic universe πŸ’– it's a little tool that shows or changes attributes on an MS-DOS FAT filesystem. yes, FAT. the vintage one. she's still serving looks in 2005 and beyond πŸŽ€


🌸 SYNOPSIS 🌸

fatattr [+-rhsvda67] files...

that's it. that's the whole vibe. no cap πŸ’…


πŸ’– DESCRIPTION πŸ’–

so here's the tea πŸ«– fatattr displays or changes attributes on an MS-DOS FAT filesystem. two modes, pick your fighter:

  • if you hand it only a list of files (or directories), it just displays the attributes for those files or directories. like a little vibe check πŸ‘€
  • if you give it a list of attributes, it will add (+) or remove (-) the specified attributes from the given list of files or directories. glow up or glow down, your call ✨

πŸ¦‹ the attributes πŸ¦‹

here's every single one, no skipping, we do not gatekeep in this house πŸ’œ

  • r β€” File or directory is readonly. hands off, she's not taking edits πŸ™…
  • h β€” File or directory is hidden</hidden>. peekaboo but make it filesystem 🌫️
  • s β€” File or directory is used by the system in a nonstandard way. Standard defragmentation software will avoid this file. And heads up: Microsoft operating systems will treat any file or directory with the system attribute as hidden, even if the hidden bit is not set. so like, surprise hiding, no warning, iconic behaviour honestly πŸ’€
  • v β€” Entry is a volume label. this bit cannot be changed. it's locked, periodt πŸ”’
  • d β€” Entry is a directory. this bit also cannot be changed. it is what it is, and what it is is a directory πŸ“
  • a β€” File has been changed. this bit gets set any time a file (but not a directory, note that) is changed, and it's typically cleared by backup software. she's the "you've got mail" of bits πŸ’Œ
  • 6, 7 β€” Unused attributes, set to zero when the file is created and otherwise unchanged. they're just there. chilling. main character energy with zero plot relevance πŸ™ˆ

πŸ’€ BUGS πŸ’€

Requires Linux kernel version 2.6.11 or later. old kernel? no service, sorry bestie 😭


πŸ‘‘ AUTHOR πŸ‘‘

Written by H. Peter Anvin <hpa@zytor.com> 🫢


Copyright Β© 2005 H. Peter Anvin.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. read it and weep (affectionately) πŸ’…


🌈 SEE ALSO 🌈

the siblings. the family. go say hi πŸ‘‹


mwah πŸ’– that was fatattr, page 3 January 2005, brought to you by H. Peter Anvin β€” go forth and attribute responsibly βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from