MOGAUTOMOUNT(1)

πŸ“¦
version 2.73 Β· 2 versions
, in fedora 43

πŸ’– MOGAUTOMOUNT(1) πŸ’–

User Contributed Perl Documentation ✨ yes bestie, it's one of those pages


🌸 NAME 🌸

mogautomount β€” automatically discover and mount MogileFS disks πŸ¦‹


⭐ SYNOPSIS ⭐

mogautomount [--verbose | -v]
mogautomount [--help | -h]

✨ DESCRIPTION ✨

okay so picture this: you've got disks just sitting there, unmounted, unbothered, minding their own business. mogautomount says absolutely not πŸ’…

It mounts all the unmounted filesystems whose labels look like "MogileDev<n>", and it drops them at /var/mogdata/dev<n>. And because it's a considerate queen πŸ‘‘, it creates any directories it needs along the way.

The iconic part? You can do this at runtime without restarting mogstored β€” assuming your SCSI/SATA/etc controller lets you add new block devices at runtime. hot-plugging, but make it slay πŸŽ€


πŸ’… OPTIONS πŸ’…

  • --help, -h β€” this help. the "hey what does this do" button 🫢
  • --verbose, -verbose β€” be verbose. spill the tea, tell me everything that's happening πŸ“
  • --chmod-mountpoints β€” if a mogile device isn't mounted yet, check that the underlying filesystem has the directory set to be not readable or writable at all (chmod 0). This could help prevent mogstored from accidentally writing to the underlying filesystem. πŸ›‘οΈ lowkey a safety feature, highkey important

😭 RETURN CODE 😭

  • 0 β€” success, or inaction because no action needed to happen. we love a chill outcome πŸ’œ
  • 1 β€” partial failure (some mounts succeed). it's giving "we tried our best" πŸ™ˆ
  • 2 β€” total failure (things had to be done, but nothing was). it's giving πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Brad Fitzpatrick, <brad@danga.com> β€” legend behaviour, fr fr ✨


🌈 WARRANTY, BUGS, DISCLAIMER 🌈

bestie. listen. This tool mounts disks, and disks hold data, so naturally you should be afraid. 😭

Real the source code to see what it does. (yes, that's what it says, I'm not fixing it, I'm just the messenger 🧚)

This tool comes with no warranty of any kind. You're response for its use or misuse. ⚠️ (also verbatim, don't come for me)


This tool is Copyright 2006, Six Apart, Ltd. You're free to redistribute it under the same terms as perl itself. πŸ’–


πŸ’€ POD ERRORS πŸ’€

Hey! The above document had some coding errors, which are explained below:

Around line 134:

    '=end' without a target?

not the '=end' without a target? jumping out 😭 the POD parser caught a stray one, iykyk


and that's the whole page, bestie 🫢 this one came from perl v5.42.0, 2025-07-25, MOGAUTOMOUNT(1) β€” now go mount some disks responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from