The attached command line utility "lsbranches", lists the files representing the aufs branches that contain the specified file.
Usage:
Execute the file in a terminal window.
It takes a filename as a single parameter.
If no parameter is given it displays usage information.
It will display error messages if the file does not exist or is not part of the aufs stack.
gyro
lsbranches, list aufs branch files that contian a file
lsbranches, list aufs branch files that contian a file
- Attachments
-
- lsbranches.gz
- gunzip to produce "lsbranches" script file
- (510 Bytes) Downloaded 152 times
Example:
gyro
Code: Select all
# ./lsbranches /etc/rc.d/rc.sysinit
/etc/rc.d/rc.sysinit exists in:
/initrd/mnt/dev_save/pups/tahr/tahrsave
/initrd/mnt/pdrv/puppy/tahr/ydrv_tahr_6.0.6.sfs
/initrd/mnt/pdrv/puppy/tahr/puppy_tahr_6.0.6.sfs
#