Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MClif
New Contributor I
1,648 Views

What is correct size of Linux /media/storage i.e. Edison disk that appears on Windows

Hi,

My environment:

Edison/Linux version: 201603141535

Windows 10

Windows sees a drive named Edison with a size of 766 MB

Edison/Linux sees /media/storage of 785 MB (close enough)

Looking here: http://download.intel.com/support/edison/sb/edison101presentationfromidfforthecommunity.pdf

it says: Flash Storage 4 GB eMMC

I am assuming that /media/storage and the Edison disk are the SAME as Flash Storage.

Question: With the my March 2016 version of Yocto, was a change made so that 4GB is no longer used for /media/storage, i.e. for the Edison disk space that shows up on Windows?

0 Kudos
9 Replies
idata
Community Manager
51 Views

 

Hi Bill,

 

 

Thanks for your interest in the Intel Edison Platform.

 

 

This is a good question. The drive named Edison which is 766 MB, was a storage dedicated to flash the image in previous versions. Now this space is not used, the Yocto image is flashed in the 4 GB eMMC. I hope you find this information useful.

 

 

I will be waiting for your reply, have a nice day.

 

 

Best Regards,

 

-Jose.

 

MClif
New Contributor I
51 Views

Hi Hose.

Thanks for the quick response.

Question: Is that 4 GB of eMMC visible to me when I login to Edison/Yocto? i.e. can I do something with it from the Yocto side.

Regards,

Bill

idata
Community Manager
51 Views

Hi Bill,

 

 

Yes you can do something with it, for example if you are using the console, you can create a file using this command: touch new.txt. You will create a text file and it will be store in the 4GB. May I ask what are trying to do with this storage space?

 

 

I will be waiting for your reply, we hope you have a nice day!

 

 

Best Regards,

 

-Jose.
MClif
New Contributor I
51 Views

Jose,

Thanks for the QUICKER response.

Regarding : "May I ask what are trying to do with this storage space?"

I am just playing with Edison and trying to understand lots of things. I am working through all the various samples projects and asking questions like this one and others.

Assuming the following:

The Windows Edison space of 766M is part of the eMMC4 GB space

On Linux that same SPACE is /media/storage which is mounted on /dev/loop0

Question: what is the file system for the eMMC 4GB that I would cd to and then do the touch new.txt

Regards,

Bill

idata
Community Manager
51 Views

Hi Bill,

It is not necessary to access any storage file. Once you have access the Linux console, any file that you create in any directory, will be save in the 4GB eMMC. Below I attach you an example creating a file.

I'll be waiting for your reply, have a nice day.

Best Regards,

 

-Jose.
MClif
New Contributor I
51 Views

Hi Jose,

This is very interesting!

Windows, Linux and Mac PCs have a hard disk, I'll call it disk0, which is where the OS is installed and where people install programs and place their data.

I see Edison as

another PC but with a different set of inputs and outputs compared to a Windows PC,

and it's disk0 is the 4GB of eMMC

The following two sets of text are from df command output, the second one is sorted.

root@edison:~# df

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/root 1444528 980812 373236 73% /

devtmpfs 491264 0 491264 0% /dev

tmpfs 491548 0 491548 0% /dev/shm

tmpfs 491548 596 490952 1% /run

tmpfs 491548 0 491548 0% /sys/fs/cgroup

tmpfs 491548 4 491544 1% /tmp

/dev/mmcblk0p10 1337936 2100 1319452 1% /home

tmpfs 491548 6164 485384 2% /var/volatile

/dev/mmcblk0p5 1003 19 913 3% /factory

/dev/mmcblk1p1 15549952 96 15549856 1% /media/sdcard

tmpfs 98312 0 98312 0% /run/user/0

/dev/loop0 784872 80 784792 1% /media/storage

root@edison:~#

root@edison:~# df | sort

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/loop0 784872 80 784792 1% /media/storage

/dev/mmcblk0p10 1337936 2100 1319452 1% /home

/dev/mmcblk0p5 1003 19 913 3% /factory

/dev/mmcblk1p1 15549952 96 15549856 1% /media/sdcard

/dev/root 1444528 980812 373236 73% /

devtmpfs 491264 0 491264 0% /dev

tmpfs 98312 0 98312 0% /run/user/0

tmpfs 491548 0 491548 0% /dev/shm

tmpfs 491548 0 491548 0% /sys/fs/cgroup

tmpfs 491548 4 491544 1% /tmp

tmpfs 491548 596 490952 1% /run

tmpfs 491548 6164 485384 2% /var/volatile

root@edison:~#

Question: do all the filesystems that begin with /dev reside on the eMMC disk0?

Question: are all of the NON /dev/filesystems created by Yocto in the 4GB of memory?

Regards,

Bill

idata
Community Manager
51 Views

Hi Bill,

All the partitions you see using the command df, are done after you flash the image. The space that can be used is the one shown in /dev/root (1.4G). If you will like to increase the size of the root partition, I would recommend to follow this thread ( ). I hope you find this information useful.

Have a nice day.

Best Regards,

 

-Jose.
MClif
New Contributor I
51 Views

Jose,

Thanks for the pointer.I am not at the point where I need to increase the size of /dev/root.

This was educational. Thanks for helping.

I am done.

Regards,

Bill

idata
Community Manager
51 Views

Hi Bill,

 

 

Always happy to help, if you have any more questions please don't hesitate to contact us.

 

 

Have a nice day!

 

 

Best Regards,

 

-Jose.
Reply