HVOL(1)

πŸ’– HVOL(1) β€” it's giving "which HFS volume are we even on rn" ✨

ok bestie so this is a page from the General Commands Manual, section 1 β€” that's the "user commands you just type in the shell" section, iykyk πŸŽ€ and the command is hvol.


🌸 NAME 🌸

hvol β€” display or change the current HFS volume πŸ’…


✨ SYNOPSIS ✨

hvol [volume-or-path]

that's it. that's the whole vibe. no options, no flags, just you and one optional little argument πŸ¦‹


🫢 DESCRIPTION 🫢

okay so picture this: hvol has ✨two moods✨ and which one you get depends entirely on whether you handed it an argument or not.

no arguments? you're in read mode, bestie. hvol will display the name and the path to the "current" HFS volume, and then β€” because she's generous β€” she'll also display the names and paths of all the previously mounted ("known") volumes. it's giving group photo of every volume you've ever mounted πŸ“ΈπŸ’œ

with an argument? now she's in switch mode. hvol changes the current volume to the one you specified. and here's the cute part: you can specify either the name of the volume or the path to its UNIX source. dealer's choice πŸŽ€

⚠️ but listen. that volume must have been previously mounted using hmount. if you never mounted it, hvol cannot and will not manifest it for you. that's not a vibe check she passes. no cap. πŸ’€

and here's a detail that's lowkey iconic: a separate "current working directory" is maintained for each mounted volume. every single one gets her own little cwd, main character energy, no sharing 🧚✨

all of that bookkeeping lives in a file named .hcwd in your home directory. so your home dir is basically the volume-cwd diary πŸ““πŸ’–


🌈 SEE ALSO 🌈

go read these too, they're all part of the same friend group:


πŸ“ FILES πŸ“

  • $HOME/.hcwd β€” the little diary where the per-volume current working directories live πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

Robert Leslie <rob@mars.org> β€” thank you for your service, king πŸ«‘πŸ’–


and that's the whole page, bestie!! this one's from HFSUTILS, dated 21-Apr-1996, so yeah she's vintage but she still ate and left no crumbs βœ¨πŸ’…πŸ¦‹ mwah, go mount something πŸŽ€