[PLUG] postgresql error
पारस
beparas at gmail.com
Mon Aug 8 10:27:45 IST 2011
2011/8/6 Mandar Vaze / मंदार वझे <mandarvaze at gmail.com>
>
> $df -h
>> Filesystem Size Used Available Use% Mounted on
>> /dev/root 3.6G 650.4M 2.8G 18% /
>> tmpfs 424.0M 40.0K 424.0M 0% /dev
>> shm 424.0M 0 424.0M 0% /dev/shm
>> rwfs 512.0K 512.0K 0 100% /mnt/rwfs
>> rwfs 512.0K 512.0K 0 100% /tmp
>> rwfs 512.0K 512.0K 0 100% /var
>>
>> It shows that ‘/tmp’ is full, but ‘/’ is 2.8G free.
>> I install filesystem on 4GB SD card.
>>
>>
>
Thank you for help, :)
How have you partitioned the 4GB card ?
>
There are two partitions on SD card.
root at embd ~$cat /proc/partitions
major minor #blocks name
179 0 3872256 mmcblk0
179 1 3868160 mmcblk0p1
I copied u-boot and uImage on first partition (mmcblk0),
and rootFS on second partition (mmcblk0p1).
Any reason why /tmp and /var are 512KB ?
>
I used 'ltib' utility to create all the images and rootFS.
I just follow the instruction from manual given by board vender.
I have one question,
Who allocate a 512KB size for /tmp ?
Where do I search it ?
> Allocate "enough" space on /tmp partition (as well as /var) several
> programs need space on /tmp and /var
>
> OR
>
> Do not create separate partition for /tmp and /var and have these as
> folders on root partition itself.
>
> -Mandar
>
I do not crate a separate partition for /tmp and /var, they are as a folders
on root partition,
Will you please guide me how to create a tmpfs partition for /tmp ?
and What is the size of it?
Here is output of mount command,
root at embd ~$ mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3
(rw,relatime,errors=continue,barrier=0,data=writeback)
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,relatime)
rwfs on /mnt/rwfs type tmpfs (rw,relatime,size=512k)
rwfs on /tmp type tmpfs (rw,relatime,size=512k)
rwfs on /var type tmpfs (rw,relatime,size=512k)
Thanks.
More information about the Plug-mail
mailing list