Age | Commit message (Collapse) | Author |
|
|
|
|
|
also, copy samizdat-eject from the initramfs to the new rootfs (into
/sbin)
|
|
This allows the cdrom to be copied onto the outer filesystem (mounted in
/outerfs) without storing unencrypted gpg keys there.
e.g.:
samizdat-eject.sh /outerfs/samizdat.iso
This was necessary because the other method probably causes btrfs deadlocks.
We do end up copying data twice this way (or three times, probably --
if the ISO is saved), but not _from the cdrom_. And we get to eject
immediately after the first copy. Future copies will be from the hard
drive. Not too bad.
|
|
|
|
|
|
|
|
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.
|