blob: e173ffe9b95d021755bc3d30116a188c7d78617c [file] [log] [blame]
# replace a file on same ino, old has 1 link, new has 2 links
mkdir $2 /2
mkdir $1 /2/$a.1
mkfile $3 /2/$a.1/$b.1
snapshot
unlink /2/$a.1/$b.1
remount
mknod $3 /2/$a.1/$b.2 c 100 101
mkdir $4 /2/$a.2
link /2/$a.1/$b.2 /2/$a.2/$b.1
snapshot