On 6 April 2010 01:32, Kai-Martin <[email protected]> wrote: > Hi. > I have a 512 MB SD card installed on my freerunner and SHR running > from flash. > > df tells me: > /------------------------- > r...@om-gta02 ~ $ df -h > Filesystem Size Used Available Use% Mounted on > /dev/root 246.6M 134.4M 112.2M 54% / > none 59.1M 184.0K 58.9M 0% /dev > shmfs 59.1M 0 59.1M 0% /dev/shm > tmpfs 59.1M 3.2M 55.9M 5% /var/volatile > tmpfs 59.1M 0 59.1M 0% /dev/shm > tmpfs 59.1M 0 59.1M 0% /media/ram > /dev/mmcblk0p1 7.6M 3.8M 3.8M 51% /media/card > volatile 59.1M 3.2M 55.9M 5% /var/volatile > \-------------------------- > > This output puzzles me: > > I understand that /dev/root is flash memory. > "Volatile" sounds like RAM to me. There is supposed to be 128 MB of > RAM, which more or less fits the sum of /var/volatile and /media/ram > > How come, /var/volatile and /dev/shm are mentioned twice? > What filesystem is "none"?
none, shmfs, tmpfs and volatile are pseudo filesystems. All together of them occupy at max 59.1M of your RAM, as you can see, the real amount consumed is about 3.4M. Having a different named pseudo-fs on the same directory is like an alias. > Why is the size of /media/card only 7.6 MB? > If I look at the aprtition table of /dev/mmcblk0p1 with cfdisk, I see > three partitions. A little one (FAT16, /dev/mmcblk0p1) and two larger > 245 MB (ext2, /dev/mmcblk0p2 and free space) partitions. This must > have been by the pre-owner of my freerunner. There is no data by me > on the card. I'd have no problem with nuking it and do mkfs from > scratch. Compare the value from cfdisk with, "df", "df -h" and "df -H". I think the last one matches best. > What is the recommended card set-up for SHR? All in one one set-up? > FAT? ext2? ext3? Look what other people have. I use the following setup: mmcblk0p1 - 1 GB ext2 with Om2007.2 mmcblk0p2 - 1 GB ext2 with Debian mmcblk0p3 - 1 GB ext2 with Om20090303 mmcblk0p4 - an extended partition mmcblk0p5 - 512 MB swap swace mmcblk0p6 - 4.5 GB ext2 with Om20080903 I haven't booted 2, 3 and 6 for several months, only partition 1 is used now and then when I reflash the NAND. On partition 6 I have the Download und Backup directories as well as Maps for tangpGPS and sound & video files. _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
