timmoore46
Posts: 266
Joined: Tue Jul 17, 2012 4:36 pm

Size of various partitions on SD card

Sat Aug 04, 2012 11:13 am

I though fast and big is good, so I got a 16GB Class 10 SD card.

On using the Raspbian image for the first time, it asked me did I want to resize the root to use all the card. So I selected that and rebooted.

So now I'm very curious as to what size the Raspbian image normally comes out at ?

Also what is a neat way to view the size of the varoius partitions in Bash ? (is it Bash that is used as the CLI ? )

A very curious ,

:D :D :D

Tim

User avatar
joan
Posts: 14936
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Size of various partitions on SD card

Sat Aug 04, 2012 11:43 am

Use the df command to have a look at the mount points, e.g.
joan@pluto:~$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 7.3G 3.0G 4.0G 44% /
/dev/root 7.3G 3.0G 4.0G 44% /
tmpfs 19M 216K 19M 2% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 37M 0 37M 0% /tmp
tmpfs 10M 0 10M 0% /dev
tmpfs 37M 0 37M 0% /run/shm
/dev/mmcblk0p1 75M 35M 41M 46% /boot
/boot (sd card partition 1) is the WIndows FAT partition which is used during boot.
/dev/root is the Linux ext4 partition (sd card partition 2) which in your case has probably been expanded to 15+ Gigabytes.

(the tmpfs filesystems are RAM based for speed)

timmoore46
Posts: 266
Joined: Tue Jul 17, 2012 4:36 pm

Re: Size of various partitions on SD card

Sat Aug 04, 2012 12:29 pm

Many many thanks for the info.

Will try this out today !

a very happy,

:D :D :D :D :D :D

Tim

Return to “Beginners”