Hello,

I stumbled about what I would consider a bug in vnconfig, but maybe this
makes sense to someone else. Using OpenBSD -current snapshot from
yesterday on i386.

To reproduce do the following:


mkdir vnconfig-test
cd vnconfig-test
dd if=/dev/zero of=image bs=512 count=100000
cp /etc/netstart saltfile

vnconfig -K 8192 -S saltfile svnd0 image
*edit svnd0 disklabel and create partiton a:*
newfs /dev/svnd0a
mount /mnt
cp -fp /etc/fstab /mnt
umount /mnt
vnconfig -u svnd0

echo "now we get to the bug?" >> saltfile
vnconfig -K 8192 -S saltfile svnd0 image
mount /mnt
ls /mnt


Why does it work? Even better... when I insert something at the
beginning of the saltfile instead, it doesnt work anymore... so it seems
only some part of the saltfile is used? Which part? Whats the maximum
file size of the saltfile before anything else gets ignored? If that is
the normal behaviour, shouldn't that be under CAVEATS?


Michael

Reply via email to