diff options
author | ae <ae@FreeBSD.org> | 2011-09-08 04:14:16 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2011-09-08 04:14:16 +0000 |
commit | 3f2d6e22bf0098f8f5abd77b7d5d13f5d6d9606b (patch) | |
tree | 24ce23462b5024bc481a59cca4ac09d635baac24 /sys/kern/vfs_subr.c | |
parent | b64fa0490d80fdf799dfb862922a20fb1540bc37 (diff) | |
download | FreeBSD-src-3f2d6e22bf0098f8f5abd77b7d5d13f5d6d9606b.zip FreeBSD-src-3f2d6e22bf0098f8f5abd77b7d5d13f5d6d9606b.tar.gz |
Don't use the whole free space when resizing partition to a larger size
on a disk with non zero stripesize (e.g. disks with 4k sector size)[1].
Also do not use automatic alignment when size is exactly specified, but
an alignment is not. Use automatic alignment only for case when user
omits both "-s" and "-a" options.
Reported by: Mikael Fridh <frimik at gmail> [1]
Approved by: re (kib)
MFC after: 1 week
Diffstat (limited to 'sys/kern/vfs_subr.c')
0 files changed, 0 insertions, 0 deletions