>I'm not sure what problem the proposal is trying to solve.  Maybe it'd
>be clearer if that was provided.
I want to know what is the arches of the systems on my computer. I. e. I want 
to do the following:

for DISK in /dev/sd*; do
  mount "$DISK" /mnt
  source /mnt/etc/os-release
  echo "Arch of $DISK is $ARCH"
done

And I want to use this $ARCH to do "setarch", i. e.:
  mount /dev/some-dev /mnt
  source /mnt/etc/os-release
  setarch "$ARCH" chroot /mnt
So, this /mnt system will see "uname -m" output which is meaningful for the 
system.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to