看板 DFBSD_commit 關於我們 聯絡資訊
commit 90ecab35525ea3637a59763d75df6712ff91728a Author: Michael Neumann <mneumann@ntecs.de> Date: Tue Jul 14 15:55:02 2009 +0200 Expand HAMMER filesystem step 1/2 Format the volume and increase other volumes' vol_count field. The space of the new volume is not yet given to the filesystem (that's step 2). Example: newfs_hammer -L TEST /dev/da0 mount_hammer /dev/da0 /hammer hammer expand /hammer /dev/da1 umount /hammer mount_hammer /dev/da0:/dev/da1 /hammer # the following fails (wrong number of volumes) mount_hammer /dev/da0 /hammer Summary of changes: sbin/hammer/cmd_expand.c | 51 +++++++++++- sys/vfs/hammer/hammer_expand.c | 189 +++++++++++++++++++++++++++++++++++++++- sys/vfs/hammer/hammer_ioctl.h | 3 + 3 files changed, 239 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/90ecab35525ea3637a59763d75df6712ff91728a -- DragonFly BSD source repository