Wind River Support Network


LIN6-7136 : [WRL6] wr-runltp should be updated: do not mount loop device on /tmp for NFS rootfs

Created: Apr 15, 2014    Updated: Dec 3, 2018
Resolved Date: Jun 24, 2014
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace


In wr-runltp script, it will mount ext4 file system on /tmp over loop device:
# mount ext4 file system on /tmp over loop device on NFS
    [[ $(df -P -T /tmp | tail -1 | awk '{print $2}' ) =~ ext(3|4) ]] || {

In WRLinux6, /tmp is already mounted as tmpfs, so it is incorrect to remount /tmp as ext4 fs via loop device.

If ltp needs run some testcases of extX fs (with NFS rootfs), please make ext fs with loop device and mount it on another point expect /tmp.

Steps to Reproduce

1, build project with --enable-test=yes
2, boot wrlinux from NFS
3, run ltp:

Other Downloads

Live chat