git: HAMMER - more fixes to snapshot softlink generation

看板DFBSD_commit作者時間16年前 (2009/10/17 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b78f1a0033e49eaf6c65ff26a6998367a00875a6 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Oct 16 13:20:06 2009 -0700 HAMMER - more fixes to snapshot softlink generation * Instead of generating "<directory>/@@0x<transid>" we want to generate "<directory>@@0x<transid>" (without the /). Otherwise if the directory is rm -rf'd and recreated, the snapshot will be pointing to the wrong place. Summary of changes: sbin/hammer/cmd_snapshot.c | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b78f1a0033e49eaf6c65ff26a6998367a00875a6 -- DragonFly BSD source repository
文章代碼(AID): #1AsDX6LQ (DFBSD_commit)