QUOTATAB(5)

πŸ’– QUOTATAB(5) πŸ’–

okay so bestie, welcome to the File Formats Manual section, this one is literally about the quotatab file and it's shorter than your attention span but it's important, i promise 🫢


✨ NAME ✨

quotatab β€” Descriptions of devices with disk quotas 🌸


✨ SYNOPSIS ✨

/etc/quotatab

🌈 DESCRIPTION 🌈

okay so the quotatab file is where you keep human descriptions of devices, and the whole entire point of it is so that warnquota(8) notifications can be cute and readable instead of just screaming raw device paths at people. it's giving user experience. πŸ’…

Each line is set up like this: a device path name first, then a colon, then a description. that's the whole format, no cap.

White space, apostrophe, and double quote characters surrounding the names and descriptions will be stripped. 🧹 so you can wrap stuff in quotes for aesthetic reasons and the parser is not gonna be weird about it, she just trims it. periodt.

the description field can encode a new-line as a pipe character β€” yes really, that's the trick, that's the move, that's how you get multi-line descriptions out of a file that only wants one line per device πŸ¦‹

and also!! empty lines are ignored, and so are lines starting with a hash sign or a semicolon. so go ahead and leave yourself little notes, she won't read them. πŸ’€

lowkey a warning: this file is read by warnquota(8), so if your description is messy, your notifications are messy. keep it clean bestie ✨

🌟 EXAMPLE 🌟

# comment
/dev/sda2: Home directories.|This becomes the second line.

see how that | just casually becomes a whole second line?? the way that pipe character carries the entire multi-line aesthetic, obsessed. πŸ‘‘


πŸŽ€ FILES πŸŽ€

  • /etc/quotatab β€” list of device descriptions πŸ“

πŸ‘€ SEE ALSO πŸ‘€


and that's the whole page, you ate it, no crumbs πŸ’– this was the QUOTATAB(5) file formats manual, out here doing its little job in the File Formats Manual section β€” go forth and describe your devices beautifully, bestie πŸŒΈπŸ¦‹πŸ’œ