LSBILIBOP(8) | System Administration | LSBILIBOP(8) |
lsbilibop - list BILIBOP tagged devices, display or update some of their udev properties
lsbilibop [-l]
lsbilibop [-a|-c|-i] [DEVICE [DEVICE
[...]]]
lsbilibop -h
lsbilibop is a simple shell script that outputs the list of BILIBOP tagged block devices and some of their udev(7) properties, or triggers uevents to update udev rules and properties that can be applied to these devices.
If the operating system is running from an external and writable support (USB or SD Flash Memory, USB, Firewire or eSATA HDD), then the BILIBOP tagged devices are the block devices whose contents are on the same physical disk than the root filesystem. This includes disk, partitions, but also device-mapper and loopback devices, and even block devices containing a filesystem used as lower/readonly branch of an aufs(5) or overlay mountpoint (depending on the kernel version). The rules file /usr/lib/udev/rules.d/66-bilibop.rules (or /etc/udev/rules.d/66-bilibop.rules) is used to find and tag such devices.
Options must be invoked before arguments. When invoked without option, lsbilibop just outputs a list 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. Devices are listed in the same order than in /proc/partitions, i.e. in the order they have been discovered by the kernel. Absolute or relative paths and symlinks can be used to specify a device. Shell wildcards are allowed.
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 (as does the -l option). Exit code is 8.
/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
bilibop(7), bilibop.conf(5), drivemap(1), udev(7), udevadm(8), udisks(7), udisks(8)
This manual page has been written by Bilibop Project <quidame@poivron.org>.
2015-07-14 | bilibop |