On Wed, 27 Aug 2008 14:33:54 +0200, Thijs Kinkhorst <[EMAIL PROTECTED]>
wrote:
tags 470279 -moreinfo
thanks
Hi,
Hi,
thanks for looking at that
during the configuration of the benchmark, config-run writes to /usr.
This
is a violation of the FHS, and means that lmbench cannot be ran when
/usr
is mounted read-only, such as running from a live CD.
That would be a serious bug if that would be the case, but I can't find
the
code that does that. Only if /usr/tmp exists and is already writable,
will it
write there, as I understand it.
Do you have an example of the problem?
Yes. I run lmbench-run from a CD an a system with no disk and get errors
like:
./config-run: line 776: /usr/lib/lmbench/bin/i686-pc-linux-gnu/CONFIG.dfs:
Read-only file system
and indeed, in the file /usr/lib/scripts/config-run, there is
C=${BINDIR}/bin/$OS/'${SCRIPTSDIR}/config'
echo DISKS=\"$DISKS\" > $C
which would then cause the above message.
Regards
Jiri Palecek
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]