LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2017, 11:18 AM   #1
mselvara1982
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
Regarding squashfs image size and rootfs size


Hi All,

We have 128 MB eMMC based NAND Flash which has squashfs based rootfs.
My device boots up and rootfs is mounted properly. I do not have any issue during booting.

# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=124856k,nr_inodes=31214,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)

#cat /proc/cmdline
root=/dev/mmcblk0p12 rootwait ro console=ttyS0,115200n8

# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 7.8M 7.8M 0 100% /
devtmpfs 121.9M 4.0K 121.9M 0% /dev

#du -sh /
121.4 MB

Query :

1) Rootfs mounted in "/" directory and size of the Filesystem partition is 7.8 MB.

2) How does entire rootfs is 122 MB which is found using (du -sh / ) when /dev/root size 7.8M.

3) Does squashfs use virtual space while accessing I/O operation?

Please clarify my queries.


Thankx
Murali.S
 
Old 11-26-2017, 03:01 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It just means that much storage is reserved for rootfs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Docker image size does not match the container size guna_pmk Linux - Virtualization and Cloud 2 06-26-2014 02:54 AM
Disk/physical size more than virtual size - qcow2 image toshko3 Linux - Virtualization and Cloud 12 12-18-2012 03:16 AM
How to reduce size of rootfs.jffs2 sumiram Linux - Software 0 01-28-2011 05:18 AM
[SOLVED] xsane reduces size of image of scanned page - how to get back to full size? taylorkh Linux - Software 7 11-12-2010 04:37 PM
rootfs 0 size left sjcoder Linux - Newbie 1 10-05-2009 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration