ok j’avoue que je ne comprends pas trop ta réponse, enfin voilà ce que donne les commandes:
[root@latibo]$ fdisk ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 117210177 (57231 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
[root@latibo]$ bsdlabel ad0s1
# /dev/ad0s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 524288 0 4.2BSD 2048 16384 32776
b: 524288 524288 swap
c: 117210177 0 unused 0 0 # "raw" part, don't edit
d: 1048576 1048576 4.2BSD 2048 16384 8
e: 1048576 2097152 4.2BSD 2048 16384 8
f: 20971520 3145728 4.2BSD 2048 16384 28552
g: 93092929 24117248 4.2BSD 2048 16384 28552
[root@latibo]$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 248M 61M 167M 27% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s1e 496M 11M 445M 2% /tmp
/dev/ad0s1f 9.7G 6.8G 2.2G 76% /usr
/dev/ad0s1g 43G 30G 9.1G 77% /usr/home
/dev/ad0s1d 496M 78M 379M 17% /var
[root@latibo]$
bon si ces 5go sont à la fin du disque ce n’est pas bien grâve. Le derniel label est /usr/home où il reste 9,1go libre donc où on pourrait prendre 5go. Mais alors après la façon de procéder…