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