Filesystem
Filesystem
In computing, a file system (or filesystem) is used to control how data is stored and retrieved. Without a file system, information placed in a storage area would be one large body of data with no way to tell where one piece of information stops and the next begins. By separating the data into pieces and giving each piece a name, the information is easily isolated and identified. Taking its name from the way paper-based information systems are named, each group of data is called a "file". The structure and logic rules used to manage the groups of information and their names is called a "file system". Wikipedia
File System Type
Release v3.5 Yocto
root@edison:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 1.4G 1017M 312M 77% /
devtmpfs 480M 0 480M 0% /dev
tmpfs 481M 0 481M 0% /dev/shm
tmpfs 481M 588K 480M 1% /run
tmpfs 481M 0 481M 0% /sys/fs/cgroup
tmpfs 481M 4.0K 481M 1% /tmp
/dev/mmcblk0p10 1.3G 2.1M 1.3G 1% /home
tmpfs 481M 6.1M 474M 2% /var/volatile
/dev/mmcblk0p5 1003K 19K 913K 3% /factory
tmpfs 97M 0 97M 0% /run/user/0
/dev/loop0 767M 4.0K 767M 1% /media/storage
root@edison:~#
Release v3.0 Yocto
root@edison:~# df -h
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/root ext4 1444528 1125392 228656 84% /
devtmpfs devtmpfs 491264 0 491264 0% /dev
tmpfs tmpfs 491548 0 491548 0% /dev/shm
tmpfs tmpfs 491548 588 490960 1% /run
tmpfs tmpfs 491548 0 491548 0% /sys/fs/cgroup
tmpfs tmpfs 491548 3108 488440 1% /tmp
/dev/mmcblk0p10 ext4 1337936 17368 1304184 2% /home
tmpfs tmpfs 491548 6164 485384 2% /var/volatile
/dev/mmcblk0p5 ext4 1003 19 913 3% /factory
tmpfs tmpfs 98312 0 98312 0% /run/user/0
/dev/loop0 vfat 784872 4 784868 1% /media/storage
root@edison:~# mount
/dev/mmcblk0p8 on / type ext4 (rw,nodev,noatime,discard,noauto_da_alloc,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=491264k,nr_inodes=122816,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /boot type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
systemd-1 on /home type autofs (rw,relatime,fd=31,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /var/volatile type tmpfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p5 on /factory type ext4 (ro,nosuid,nodev,noatime,discard,noauto_da_alloc)
/dev/mmcblk0p10 on /home type ext4 (rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=98312k,mode=700)
/dev/mmcblk0p9 on /media/storage type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=i)
File System Disk Space Usage
Release v3.5 Yocto, Fresh Installation
root@edison:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 1.4G 1017M 312M 77% /
devtmpfs 480M 0 480M 0% /dev
tmpfs 481M 0 481M 0% /dev/shm
tmpfs 481M 588K 480M 1% /run
tmpfs 481M 0 481M 0% /sys/fs/cgroup
tmpfs 481M 4.0K 481M 1% /tmp
/dev/mmcblk0p10 1.3G 2.1M 1.3G 1% /home
tmpfs 481M 6.1M 474M 2% /var/volatile
/dev/mmcblk0p5 1003K 19K 913K 3% /factory
tmpfs 97M 0 97M 0% /run/user/0
/dev/loop0 767M 4.0K 767M 1% /media/storage
root@edison:~#
Release v3.0 Yocto, Fresh Installation
root@edison:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 1.4G 958M 365M 73% /
devtmpfs 480M 0 480M 0% /dev
tmpfs 481M 0 481M 0% /dev/shm
tmpfs 481M 592K 480M 1% /run
tmpfs 481M 0 481M 0% /sys/fs/cgroup
tmpfs 481M 42M 439M 9% /tmp
tmpfs 481M 6.1M 475M 2% /var/volatile
tmpfs 97M 0 97M 0% /run/user/0
/dev/loop0 767M 4.0K 767M 1% /media/storage
/dev/mmcblk0p10 1.3G 2.1M 1.3G 1% /home
/dev/mmcblk0p5 1003K 19K 913K 3% /factory
Release v2.1 Yocto, Fresh Installation
root@edison:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 1.4G 428.6M 934.8M 31% /
devtmpfs 479.8M 0 479.8M 0% /dev
tmpfs 480.1M 0 480.1M 0% /dev/shm
tmpfs 480.1M 528.0K 479.5M 0% /run
tmpfs 480.1M 0 480.1M 0% /sys/fs/cgroup
tmpfs 480.1M 4.0K 480.1M 0% /tmp
systemd-1 5.8M 5.3M 456.0K 92% /boot
tmpfs 480.1M 0 480.1M 0% /var/volatile
/dev/mmcblk0p7 5.8M 5.3M 456.0K 92% /boot
/dev/mmcblk0p10 1.3G 2.0M 1.3G 0% /home
/dev/mmcblk0p5 1003.0K 19.0K 913.0K 2% /factory
Ubilinux, Fresh Installation
edison@ubilinux:~$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1.4G 812M 504M 62% /
/dev/root 1.4G 812M 504M 62% /
devtmpfs 480M 0 480M 0% /dev
tmpfs 97M 292K 96M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 193M 0 193M 0% /run/shm
tmpfs 481M 0 481M 0% /tmp
/dev/mmcblk0p7 32M 5.3M 27M 17% /boot
/dev/mmcblk0p10 1.3G 2.0M 1.3G 1% /home
File System Disk Space Free Up
root@edison:~# mv /var/cache /home
root@edison:~# cd /var
root@edison:~# ln -sf /home/cache cache
root@edison:~# mv /usr/share /home
root@edison:~# cd /usr
root@edison:~# ln -sf /home/share share
File System Disk Space uSD
ToDo
File System Disk Space Encryption
ToDo
Last updated