mfseattr(1)
π NAME π
mfseattr β MooseFS extra attributes management tools. Basically a whole lil squad of besties whose entire job is getting, setting, deleting and copying those extra flags on your MooseFS objects, and honestly? iconic behavior. π
β¨ SYNOPSIS β¨
mfsgeteattr [-?] [-r] [-n|-h|-H|-k|-m|-g] OBJECT...
mfsseteattr [-?] [-r] [-n|-h|-H|-k|-m|-g] -f ATTRNAME [-f ATTRNAME ...]
OBJECT...
mfsdeleattr [-?] [-r] [-n|-h|-H|-k|-m|-g] -a | -f ATTRNAME [-f ATTRNAME
...] OBJECT...
mfscopyeattr [-?] [-r] [-n|-h|-H|-k|-m|-g] SOURCE_OBJECT OBJECT...
πΈ DESCRIPTION πΈ
okay so. These tools are for getting, setting or deleting some extra attributes (flags). They're like the accessories of your filesystem objects β not required, but they change the whole fit. π
mfsgeteattrβ shows you the extra attributes of whatever object you point it at. Add-rand it will also display statistics for how all the attributes are being used across the whole directory tree you named inOBJECT. Receipts, bestie. π§Ύmfsseteattrβ sets the attribute you name with-f. And because one is never enough,-fcan be used more than once, so you can set several attributes with a single command. Add-rand those specified attributes get set recursively. β¨mfsdeleattrβ deletes (clears) the attribute you name with-f. Also repeatable β-fmore than once means several attributes get deleted in one command. Or you can flex the-aoption instead to delete all existing extra attributes at once. Add-rand the specified attributes get deleted recursively. π«Άmfscopyeattrβ copies the current set of attributes fromSOURCE_OBJECTontoOBJECT. Heads up: this is an exact copy, so any attributes thatOBJECThas butSOURCE_OBJECTdoes not will be cleared. No leftovers, no crumbs. Add-rand attributes get copied recursively. π
π¦ OPTIONS π¦
π ATTRIBUTES
noownerβ this flag means that the particular object belongs to the current user (uid and gid are equal to the uid and gid values of the accessing process). Only root (uid=0) sees the real uid and gid. β¨noattrcacheβ this flag means standard file attributes like uid, gid, mode, length and so on won't be stored in kernel cache.noentrycacheβ similar vibe to the one above. It stops directory entries from being cached in the kernel.nodatacacheβ this flag means data should never be kept in kernel cache (similar to theO_DIRECTopen flag).snapshotβ this flag means the object was created via amfsmakesnapshotcommand. πΈundeletableβ this flag prevents unlinking (admin only; not inherited). π«appendonlyβ an object with this flag can only be appended to; unlinking and other modifications are not allowed (admin only; not inherited).immutableβ this flag prevents any change to the given object (admin only; not inherited). It's giving frozen. π§
π GENERAL OPTIONS
Most MooseFS tools use -n, -h, -H, -k, -m and -g options to pick the format of printed numbers, and this squad is no different:
-nβ prints exact numbers.-hβ uses binary prefixes (Ki,Mi,Gias 2^10, 2^20 etc.).-Hβ uses SI prefixes (k,M,Gas 10^3, 10^6 etc.).-kβ shows plain numbers in kibis (binary kilo β 1024).-mβ shows plain numbers in mebis (binary mega β 1024^2).-gβ shows plain numbers in gibis (binary giga β 1024^3).
You can get the exact same outcome by setting the MFSHRFORMAT environment variable to:
0β exact numbers1orhβ binary prefixes2orHβ SI prefixes3orh+β exact numbers and binary prefixes4orH+β exact numbers and SI prefixes
The default is to print just exact numbers. β¨
-?β displays a short usage message.
π NOTES π
π§ INHERITANCE
When a new object is created in MooseFS, extra attributes are inherited from the parent directory. A newly created object always inherits the current set of its parent's attributes. Changing a directory attribute does not affect its already created children. So if you wanna change an attribute for a directory AND all of its children, you gotta use the -r option. No cap. π
π REPORTING BUGS π
Found a bug? Report bugs to <bugs@moosefs.com>. Bestie will handle it. π«Ά
π COPYRIGHT π
Copyright (C) 2026 Jakub Kruszona-Zawadzki, Saglabs SA
This file is part of MooseFS.
MooseFS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 (only).
MooseFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see <https://www.gnu.org/licenses/>.
π SEE ALSO π
mfsmount(8), mfstools(1), mfssnapshots(1)
and that's the whole page, bestie β this was MooseFS 4.59.2-1, dropped in May 2026. go forth and flag responsibly πβ¨
π¦ where this page comes from
- arch rolling: moosefs 4.59.2-2 Β· GPL-2.0-only
- nixos 26.05: moosefs 4.59.2
- nixpkgs unstable: moosefs 4.59.2
- ubuntu stonking: moosefs-client 4.59.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms