[arch-releng] [PATCH 2/2] [archiso] Allow persistent cow dm-snapshots.

Thomas Bächler thomas at archlinux.org
Tue Aug 23 11:56:34 EDT 2011

Am 23.08.2011 17:40, schrieb Gerardo Exequiel Pozzi:
> rebased with
> -    _mnt_dev "${archisodevice}" "/bootmnt" "-r"
> +    if [[ "$(readlink -f "${archisodevice}")" == "$(readlink -f
> "${cow_device}")" ]]; then
> +        _mnt_dev "${archisodevice}" "/bootmnt"
> +    else
> +        _mnt_dev "${archisodevice}" "/bootmnt" "-r"
> +    fi
> +

That makes me think: Why do we want archisodevice= to be read-only? In
the case of the ISO/UDF file system, the kernel will automatically mount
read-only. In case of another file system, being read-write is actually
desirable (might cause trouble with shutdown though).

In any case, the above distinction is superfluous, as you can mount
every file system in Linux as often as you want, and I think you can
mount it ro once and rw the other time without trouble. (All IIRC)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20110823/3ebeee47/attachment.asc>

More information about the arch-releng mailing list