What is the easiest way to decide if a given directory tree from a block device is an install media?
In grub2 for Xen PV guests a grub script has to decide if a menu has to be presented or not. The current approach is to do something like r=some_disk if test -e $r/content && test -e $r/boot/x86_64/vmlinuz-xen && test -e $r/boot/x86_64/initrd-xen then show install menu show boot menu else show boot menu fi I wonder if that is robust enough to decide if a given block device is an installation DVD or not. Should the script stat something else, or some additional files to be sure, like /media.1/directory.yast or /media.1/media? Olaf -- To unsubscribe, e-mail: zypp-devel+unsubscr...@opensuse.org To contact the owner, e-mail: zypp-devel+ow...@opensuse.org