LSBILIBOP(8)
π NAME π
lsbilibop β the girl who lists your BILIBOP tagged devices and either shows you some of their udev properties or straight up updates them β¨
πΈ SYNOPSIS πΈ
lsbilibop [-l]
lsbilibop [-a|-c|-i] [DEVICE [DEVICE [...]]]
lsbilibop -h
π¦ DESCRIPTION π¦
okay so bestie, lsbilibop is a simple shell script β like, no cap, just a script β and what it does is print out the list of BILIBOP tagged block devices plus some of their udev(7) properties. OR, if you're feeling spicy, it triggers uevents so the udev rules and properties that apply to those devices get refreshed. it's giving "I do two things and I do them well" π
so when is a device a BILIBOP tagged device? here's the tea π if your operating system is running from an external and writable support β think USB or SD Flash Memory, USB, Firewire or eSATA HDD β then the BILIBOP tagged devices are the block devices whose contents live on the same physical disk as the root filesystem. periodt.
and that includes:
- the disk itself
- partitions
- device-mapper devices
- loopback devices
- and even block devices containing a filesystem that's used as the lower/readonly branch of an
aufs(5)or overlay mountpoint (this one depends on your kernel version, iykyk)
to find and tag all of these, the rules file /usr/lib/udev/rules.d/66-bilibop.rules (or /etc/udev/rules.d/66-bilibop.rules) is what does the work π
β¨ OPTIONS β¨
heads up bestie: options must be invoked before arguments. don't be chaotic about it π
when you invoke it with no option at all, lsbilibop just outputs a list of the device(s) you handed it as arguments β but only if they are BILIBOP tagged block devices β or of all BILIBOP tagged block devices if you gave it none. and the ordering? devices are listed in the same order as in /proc/partitions, i.e. in the order they have been discovered by the kernel. no re-sorting, no opinions, just vibes as the kernel intended β¨
you can specify a device with absolute or relative paths and symlinks. and yes, shell wildcards are allowed π
-aβ triggers a'device add'uevent for the device(s) given as arguments (if they are BILIBOP tagged block devices), or for all BILIBOP tagged block devices if none is specified, to update their properties. use this every time you change the correspondingBILIBOP_RULES_*variables inbilibop.conf(5)β it applies the new settings without you having to reboot the whole operating system. iconic behavior honestly π₯-cβ triggers a'device change'uevent for the device(s) given as arguments (if they are BILIBOP tagged block devices), or for all BILIBOP tagged block devices if none is specified, to update their properties. same deal: use it each time the correspondingBILIBOP_RULES_*variables are modified inbilibop.conf(5), and your new settings apply with no reboot needed π-hβ prints a help page on standard output and exits. the classic π«Ά-iβ displays some usefuludev(7)properties of the device(s) given as arguments (if they are BILIBOP tagged block devices), or of all BILIBOP tagged block devices if none is specified. this option overrides-aand-cπ (so don't think you can stack them, bestie)
the following properties are only informative. the two last ones are set if and only if udisks 1.x (ID_DRIVE_DETACHABLE) and/or udisks 2.x (UDISKS_CAN_POWER_OFF) are installed.
DEVNAMEBILIBOP_DISKBILIBOP_PARTITIONBILIBOP_UNDERLYING_PARTITIONDEVLINKSID_DRIVE_DETACHABLEUDISKS_CAN_POWER_OFF
the following properties can be used to set BILIBOP_RULES_*_WHITELIST and other variables in bilibop.conf(5):
ID_FS_LABELID_FS_TYPEID_FS_USAGEID_FS_UUID
the following properties can be modified by changing the corresponding BILIBOP_RULES_* variables in bilibop.conf(5). they are set if and only if udisks 1.x (for the first set) and/or udisks 2.x (for the second set) are installed.
UDISKS_PRESENTATION_HIDEUDISKS_PRESENTATION_ICON_NAMEUDISKS_PRESENTATION_NAMEUDISKS_SYSTEM_INTERNALUDISKS_IGNOREUDISKS_ICON_NAMEUDISKS_NAMEUDISKS_SYSTEM
-lβ don't rely on the'BILIBOP'tag to list the devices. this option is based on thebilibop-commonshell library π
π ERRORS π
if the 'BILIBOP' tag does not exist in the udev database, then lsbilibop displays a useful error message on stderr, and lists the device nodes whose content is supposed to be written on the same physical disk than the root filesystem (exactly like the -l option does). exit code is 8.
so no, it doesn't just silently ghost you. it tells you what's up π
π FILES π
/etc/bilibop/bilibop.conf/usr/share/doc/bilibop-rules/examples/bilibop.conf/usr/share/bilibop/bilibop_rules_generator/lib/udev/rules.d/66-bilibop.rules/etc/udev/rules.d/66-bilibop.rules
π SEE ALSO π
bilibop(7), bilibop.conf(5), drivemap(1), udev(7), udevadm(8), udisks(7), udisks(8)
go read those, bestie, they're the supporting cast π¦
π AUTHOR π
this manual page has been written by Bilibop Project <quidame@poivron.org> π«Ά
and that's the whole page, babe β this one shipped as part of bilibop, dated 2015-07-14, and the manual section for lsbilibop is section 8 (system administration, main character energy π). go forth and list those devices. slay π
β¨
π¦ where this page comes from
- debian bookworm: bilibop-rules 0.6.3 Β· GPL-3.0-or-later
- debian trixie: bilibop-rules 0.6.5 Β· GPL-3.0-or-later
- ubuntu jammy: bilibop-rules 0.6.3 Β· GPL-3.0-or-later
- ubuntu noble: bilibop-rules 0.6.3 Β· GPL-3.0-or-later
- ubuntu resolute: bilibop-rules 0.6.5 Β· GPL-3.0-or-later
- ubuntu stonking: bilibop-rules 0.6.5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms