diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-25 20:36:49 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-25 20:36:57 -0400 |
commit | e213dac839137b9a51f8349b81f2d29a6d7c27d8 (patch) | |
tree | a23920bb8350bbc46f0760af7d5784a2b23af5cf /old-school/grok-block | |
parent | a13b5ad603b7ecb86fca9d4c2b50e21bb6f1c389 (diff) |
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.
Diffstat (limited to 'old-school/grok-block')
-rwxr-xr-x | old-school/grok-block | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
172 | # Recognize and mount the Samizdat | 172 | # Recognize and mount the Samizdat |
173 | if ! mountpoint -q /cdrom; then | 173 | if ! mountpoint -q /cdrom; then |
174 | mkdir -p /cdrom | 174 | mkdir -p /cdrom |
175 | (retry_mount -t iso9660 -r "$DEVNAME" /cdrom && bootdone samizdat-cdrom) & | 175 | . mdadm-dup.sh |
176 | mount_cdrom "$DEVNAME" && bootdone samizdat-cdrom | ||
177 | # (retry_mount -t iso9660 -r "$DEVNAME" /cdrom && bootdone samizdat-cdrom) & | ||
176 | fi | 178 | fi |
177 | else | 179 | else |
178 | grok_block & | 180 | grok_block & |