LinuxQuestions.org
Review your favorite Linux distribution.
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, 12:18 PM   #1
mselvara1982
LQ Newbie
 
Registered: Jan 2016
Posts: 1

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, 04:01 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:54 AM
Disk/physical size more than virtual size - qcow2 image toshko3 Linux - Virtualization and Cloud 12 12-18-2012 04:16 AM
How to reduce size of rootfs.jffs2 sumiram Linux - Software 0 01-28-2011 06: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 05:37 PM
rootfs 0 size left sjcoder Linux - Newbie 1 10-05-2009 01:23 AM

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

All times are GMT -5. The time now is 03:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration