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)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to