> > if [ "$FAI_DEBMIRROR" ]; then
> >     mount -r $FAI_DEBMIRROR $FAI_ROOT/$MNTPOINT || exit 9
> > fi
> > ---
> >
> > If FAI_DEBMIRROR is set, this leads to a mount command like this:
> >
> >     mount -r 192.168.12.22:/var/debmirror ///mnt2
> >
> > Clearly, that is just wrong. After I commented out the above section I
> > could run the fai-mirror script fine.
> >
>
> To me it is absolutely not clear, why this should be wrong!?

Because during the creating of the local mirror repository, there is
no reason to try and mount it at ///mnt2. And doing so, will create an
error because ///mnt2 is an invalid mount point.

--
mvh Björn

Reply via email to