LOCKFS-NOTIFY(1)

πŸ’– LOCKFS-NOTIFY πŸ’–

okay bestie, welcome to the lockfs-notify manual page, from the User Commands girlies πŸ’… this one's short, sweet, and honestly kind of iconic. let's get into it πŸ¦‹


✨ NAME ✨

lockfs-notify β€” bestie, this is the lil cutie that notifies you about temporary or permanent changes on fs πŸ‘€


✨ SYNOPSIS ✨

lockfs-notify [-a|--always|-l|--lockfs|-n|--nolockfs] [-t TIME|--expire-time=TIME]
lockfs-notify -h|--help

✨ DESCRIPTION ✨

so like, lockfs-notify is a wrapper around notify-send(1). that's the whole vibe. it's the middleman, the bestie who delivers the message πŸ“¬

what does it actually do tho? it sends a notification to users at the beginning of a session, telling them whether temporary or permanent changes are allowed on which filesystems β€” or, to be more precise (periodt πŸ’…), on which mountpoints.


✨ OPTIONS ✨

okay so real talk first: if you invoke several of the -a, -l or -n options (or their long forms, respectively --always, --lockfs or --nolockfs), the last one overrides the previous ones. last one standing wins, no cap πŸ‘‘

also β€” invoking any of these options overrides the variable BILIBOP_LOCKFS_NOTIFY_POLICY that can be set in bilibop.conf(5). so yeah, command line said what it said πŸ—£οΈ

  • -a, --always β€” always send a notification bestie!! πŸ’– it'll tell you about filesystems on which permanent changes are allowed, AND about filesystems on which temporary changes are allowed. so if the bilibop-lockfs feature is enabled, and one or more mountpoints have been whitelisted in /etc/bilibop/bilibop.conf, then two notifications are send to the user. two!! double the slay ✨
  • -h, --help β€” prints a short help message on stdout and dips. short king behavior πŸŽ€
  • -l, --lockfs β€” send a notification only about filesystems for which the lockfs feature has been enabled, i.e. about mountpoints for which only temporary changes are allowed. and bestie… all these changes will be lost at next shutdown of the computer 😭 gone. poof. make your peace with it πŸ’€
  • -n, --nolockfs β€” send a notification only about filesystems for which the lockfs feature has been disabled, i.e. about mountpoints for which permanent changes are allowed. these changes will be kept after the shutdown of the computer 🫢 they live on, main character energy fr fr
  • -t TIME, --expire-time=TIME β€” specifies the timeout in milliseconds at which to expire the notification ⏰ so here's the tea: values of TIME less than 1000 (1 second) make the timeout disabled and the notification never expires β€” it's immortal, it's giving forever ✨ and if TIME is not an integer, this option is silently ignored. no error, no drama, just ignored πŸ™ˆ

✨ FILES ✨

  • /etc/xdg/autostart/lockfs-notify.desktop β€” the one file. the whole file list. she's alone but she's thriving 🌸

✨ SEE ALSO ✨

go read these too bestie, they're all connected iykyk πŸ”₯


✨ AUTHOR ✨

this manual page has been written by Bilibop Project <quidame@poivron.org> 🫢 absolute legend, ty for your service


and that's the whole page bestie!! πŸ’– this was bilibop, dated 2012-05-22, and it ate, no crumbs left πŸ’…βœ¨ periodt πŸŽ€