lockfs-notify - notify user about temporary or permanent changes on fs
lockfs-notify [-a|--always|-l|--lockfs|-n|--nolockfs] [-t TIME|--expire-time=TIME]
lockfs-notify is a wrapper around notify-send(1). It is used to send a notification to users at the beginning of a session, to say if temporary or permanent changes are allowed on which filesystems (or more precisely on which mountpoints).
If several of the -a, -l or -n options are invoked (or their long forms, respectively --always, --lockfs or --nolockfs), the last overrides the previous ones. The invocation of these options also overrides the variable \(aqBILIBOP_LOCKFS_NOTIFY_POLICY\(aq that can be set in bilibop.conf(5).
Always send a notification: 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.
Print a short help message on stdout and exit.
Send a notification only about filesystems for which the \(aqlockfs\(aq feature has been enabled, i.e. about mountpoints for which only temporary changes are allowed. All these changes will be lost at next shutdown of the computer.
Send a notification only about filesystems for which the \(aqlockfs\(aq feature has been disabled, i.e. about mountpoints for which permanent changes are allowed. All these changes will be kept after the shutdown of the computer.
-t TIME, --expire-time=TIME
Specifies the timeout in milliseconds at which to expire the notification. Values of TIME less than \(aq1000\(aq (1 second) make the timeout is disabled and the notification never expires. If TIME is not an integer, this option is silently ignored.
This manual page has been written by Bilibop Project <quidame>.