View Single Post
  #6   (View Single Post)  
Old 22nd August 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

I want to delete the partitions for /usr/src and /usr/obj because i donot compile source file. And all those space will be given to /home. (Of course i backup the /home first to /mnt/C).
Code:
         size            offset
 j:      2210304      30131040  4.2BSD   2048 16384    1 # /usr/src
 k:     2888736     32341344   4.2BSD   2048 16384    1 # /usr/obj
 l:      4643520      35230080  4.2BSD   2048 16384    1 # /home
After using disklabel -E wd0, i get (2210304+2888736+4643520=9742560):
Code:
j:    9742656         30131040  4.2BSD   2048 16384    1 # /home
So far so good, but why the /home space even smaller than before ?
Code:
 df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/wd0a      214M   39.4M    164M    19%    /
/dev/wd0j      1.0G    291M    716M    29%    /home
/dev/wd0d      334M   12.0K    318M     0%    /tmp
/dev/wd0f     1019M    365M    603M    38%    /usr
/dev/wd0g      585M    175M    381M    31%    /usr/X11R6
/dev/wd0h      2.2G    639M    1.5G    29%    /usr/local
/dev/wd0e      432M    6.3M    404M     2%    /var
/dev/wd0i      9.3G    3.9G    5.4G    42%    /mnt/C
Sincerely!
Reply With Quote