You can use a union file system like `aufs` on Linux:
set /disk1 /disk2 /disk3
mount -t aufs -o br"$(printf ':%s=ro' "$@")" aufs /union/disk
(if files are common between the disks, the one from `disk1` takes precedence)
You can use a union file system like `aufs` on Linux:
set /disk1 /disk2 /disk3
mount -t aufs -o br"$(printf ':%s=ro' "$@")" aufs /union/disk
(if files are common between the disks, the one from `disk1` takes precedence)