[Fedora-livecd-list] Overlay File Health?

Forrest Taylor ftaylor at redhat.com
Tue Jan 27 14:21:16 UTC 2009


On Wed, 2009-01-14 at 06:42 -0500, Kam Salisbury wrote:
> How do I see how much space is used in the overlay file (Fedora USB)?
> 
> [liveuser at localhost ~]$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/live-rw   3.0G  2.2G  771M  75% /
> tmpfs                1013M  288K 1013M   1% /dev/shm
> /dev/sdb1              15G  8.3G  6.8G  55% /mnt/live
> varcacheyum          1013M     0 1013M   0% /var/cache/yum
> /tmp                 1013M  104K 1013M   1% /tmp
> vartmp               1013M     0 1013M   0% /var/tmp
> 
> The above command output does not seem to reflect the 2GB overlay.
> 
> Is there a way to output "just" the overlay contents? Something like 'du -hs' (du shows what /dev/mapper shows).

Kam,

I wrote a script to check the status of the overlay (attached).  I'll
see if I can get it included for future use.

-- 
Forrest Taylor
Global Learning Services Project Manager III
Cell: 303-913-5169
AIM: forresttaylorred
Red Hat IRC: forrest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_overlay_size.sh
Type: application/x-shellscript
Size: 600 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20090127/d0375c6c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20090127/d0375c6c/attachment-0001.bin 


More information about the livecd mailing list