Up

Traces

linux[3.13.0-29-generic][system[GNU C Library (GNU libc) stable release version 2.21, by Roland McGrath et al.]][ext4_loop[mke2fs 1.42.9 (4-Feb-2014)]]@[2015-07-24T13:23:26Z./nix/store/fxisrpncjn4cxxwnq2lvilriqx63s9k9-fs_test]

Checked Trace
linux_spec@[/nix/store/fxisrpncjn4cxxwnq2lvilriqx63s9k9-fs_test] sexp stdout stderr
Traced Execution stdout stderr
Script script

Combined Trace

1 # processing file 'adhoc_rmdir_link_count-int.trace' ...
2 @type trace
3
4 # ##########################################
5 # Test link count of files after rmdir
6 # ##########################################
7
8 # removing a subdir should decrease the count of the dir
9
10 mkdir "/dir1" 0o777
11 Tau
12 RV_none
13 stat "/dir1"
14 Tau
15
RV_stat {
st_dev=1792;
st_ino= 32652;
st_kind= S_IFDIR;
st_perm= 0o755;
st_nlink=2;
st_uid= 0;
st_gid= 0;
st_rdev=0;
st_size= 4096;
}
16 mkdir "/dir1/subdir1" 0o777
17 Tau
18 RV_none
19 stat "/dir1"
20 Tau
21
RV_stat {
st_dev=1792;
st_ino= 32652;
st_kind= S_IFDIR;
st_perm= 0o755;
st_nlink=3;
st_uid= 0;
st_gid= 0;
st_rdev=0;
st_size= 4096;
}
22 stat "/dir1/subdir1"
23 Tau
24
RV_stat {
st_dev=1792;
st_ino= 65281;
st_kind= S_IFDIR;
st_perm= 0o755;
st_nlink=2;
st_uid= 0;
st_gid= 0;
st_rdev=0;
st_size= 4096;
}
25
26 rmdir "/dir1/subdir1"
27 Tau
28 RV_none
29 stat "/dir1"
30 Tau
31
RV_stat {
st_dev=1792;
st_ino= 32652;
st_kind= S_IFDIR;
st_perm= 0o755;
st_nlink=2;
st_uid= 0;
st_gid= 0;
st_rdev=0;
st_size= 4096;
}
32
33
34