swap partitionsgrösse anzeigen?

mikaslow

Well-Known Member
weiss jemand wie man die swap-partitionsgrösse und den device dazu anzeigt?

df zeigt ja nur alle andern an!
 
In /etc/fstab siehst Du das device.
"disklabel -r adx" zeigt die Partitionierung von IDE-Platten an.
 
man bsdlabel

Code:
#bsdlabel ad0s1
# /dev/ad0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  1638400        0    4.2BSD     2048 16384 28552 
  b:  2048000  1638400      swap                    
  c: 39851217        0    unused        0     0         # "raw" part, don't edit
  d: 10240000  3686400    4.2BSD     2048 16384 28552 
  e:  1638400 13926400    4.2BSD     2048 16384 28552 
  f: 11264000 15564800    4.2BSD     2048 16384 28552 
  g: 13022417 26828800    4.2BSD     2048 16384 28552
 
FreeBSD-4.9
eibeltreibel# swapctl -sl
swapctl: Command not found.
eibeltreibel# bash
bash-2.05b# swap
swapinfo swapon
bash-2.05b# swapinfo
Device 1K-blocks Used Avail Capacity Type
/dev/ad0s1b 1556952 0 1556952 0% Interleaved
bash-2.05b#
 
Zurück
Oben