Manufactures use the 'giga' prefix in the International System meaning.
That said, 1Gb would be 10^9 = 1,000,000,000 bytes.
Computer programmers, OS and all around computer chit-chat use the
prefix 'giga' to refer 2^30 = 1,073,741,824 bytes.
IEC recommends calling this GiB, but it's uncommon.
Today, you could assume safely only manufacturers write Gb in the
International System meaning; everybody else is refering to GiBs when
talking about Gb.
Sum this fact with filesystem overhead, and you may get all your space!
Jennifer Ma escribis:
hi all, lately, i obtained a seagate 200g(wd1) harddisk from my elder
brother, after i disklabel, newfs and mount the disk. only 174g is
shown as available, in windows(through samba), said 9.16g already been
used. is there any way i can claim those space back? much thanks!
# disklabel wd1
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: ST3200826A
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 390721968
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 390721905 63 4.2BSD 2048 16384 1
c: 390721968 0 unused
# df -h
# Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 1.8G 1.4G 313M 82% /
/dev/wd1a 183G 2.0K 174G 0% /www01