Hi,
I use yocto to build a tiny image for my ls1021a board but I found out that there is no information in my /etc/fstab shows how my file system gets mounted but I still able too see the mount information in the /proc/mounts
How am I able to remove the discard option from the linux build so that the image I am going to boot will not show this discard ?
/dev/mmcblk0p5 /mnt/xx ext4 rw,noexec,noatime,discard 0 0
/dev/mmcblk0p2 /mnt/yy ext4 ro,noexec,noatime,discard 0 0
Hello Elias Bitbaker,
Which version Yocto release do you use?
I got the following information with QorIQ SDK 2.0 images.
root@ls1021atwr:~# mount
/dev/mmcblk0p1 on / type ext4 (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=440708k,nr_inodes=110177,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/volatile type tmpfs (rw,relatime)
hugetlbfs on /hugetlbfs type hugetlbfs (rw,relatime,mode=777,pagesize=2M)
/dev/sdc1 on /run/media/sdc1 type ext2 (rw,relatime,errors=continue,user_xattr)
/dev/sda1 on /run/media/sda1 type ext2 (rw,relatime,errors=continue,user_xattr)
/dev/sdb1 on /run/media/sdb1 type ext2 (rw,relatime,errors=continue,user_xattr)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
cgroup on /sys/fs/cgroup type tmpfs (rw,relatime,mode=755)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
name=systemd on /sys/fs/cgroup/systemd type cgroup (rw,relatime,name=systemd)
tmpfs on /media/ram type tmpfs (rw,relatime)
Thanks,
Yiping