Filesystems Archive

How to add locale into embedded yocto root filesystem

Recently we faced some issues with locale and when debugged using strace it shows following error open("/usr/share/X11/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/X11/locale/locale.dir", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/X11/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file ...Read More

Understanding meminfo /proc/meminfo

/proc/meminfo Provides information about distribution and utilization of memory.  This varies by architecture and compile options.  The following is from a 4GB RAM, 64bit Ubuntu Desktop $ cat /proc/meminfo MemTotal:        3958692 kB MemFree:          534880 kB Buffers:          224016 kB Cached:          2061744 kB SwapCached:            0 kB ...Read More

Understanding sysfs and usb

Reference’s 1) http://www.makelinux.net/ldd3/chp-13-sect-2.shtml 2) Allen Stern’s description :/sys/bus/usb/devices# ls -al usb* usb1 -> ../../../devices/pci0000:00/0000:00:1d.7/usb1 usb2 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2 usb3 -> ../../../devices/pci0000:00/0000:00:1d.1/usb3 usb4 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4 usb5 -> ../../../devices/pci0000:00/0000:00:1d.3/usb5 this shows that it has 5 root hubs. Now, lets try to corelate it with lsusb. A simple ...Read More