From e213dac839137b9a51f8349b81f2d29a6d7c27d8 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Mon, 25 Apr 2016 20:36:49 -0400 Subject: Cdrom duplication The cdrom can now be copied into the btrfs filesystem (if there is enough space) and hot-removed. This isn't done automatically, though. In fact, the code to do it isn't available anymore after boot; it would have to be copied back onto the system to be run. --- old-school/grok-block | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'old-school/grok-block') diff --git a/old-school/grok-block b/old-school/grok-block index 62b063f..3f61c4a 100755 --- a/old-school/grok-block +++ b/old-school/grok-block @@ -172,7 +172,9 @@ then # Recognize and mount the Samizdat if ! mountpoint -q /cdrom; then mkdir -p /cdrom - (retry_mount -t iso9660 -r "$DEVNAME" /cdrom && bootdone samizdat-cdrom) & + . mdadm-dup.sh + mount_cdrom "$DEVNAME" && bootdone samizdat-cdrom +# (retry_mount -t iso9660 -r "$DEVNAME" /cdrom && bootdone samizdat-cdrom) & fi else grok_block & -- cgit v1.2.3