summaryrefslogtreecommitdiff
path: root/tests/d_special_files/expect
blob: 2b2dbfaae5907e41863ed93fa5a786caa1af543e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
debugfs create special files
mke2fs -Fq -b 1024 test.img 512
Exit status is 0
debugfs -R ''stat foo'' -w test.img
Inode: 12   Type: symlink    Mode:  0777   Flags: 0x0
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 3
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
mtime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
Fast_link_dest: bar
Exit status is 0
debugfs -R ''stat foo2'' -w test.img
Inode: 13   Type: symlink    Mode:  0777   Flags: 0x0
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 80
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 2
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
mtime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
BLOCKS:
(0):28
TOTAL: 1

Exit status is 0
debugfs -R ''block_dump 28'' -w test.img
0000  3132 3334 3536 3738 3930 3132 3334 3536  1234567890123456
0020  3738 3930 3132 3334 3536 3738 3930 3132  7890123456789012
0040  3334 3536 3738 3930 3132 3334 3536 3738  3456789012345678
0060  3930 3132 3334 3536 3738 3930 3132 3334  9012345678901234
0100  3536 3738 3930 3132 3334 3536 3738 3930  5678901234567890
0120  0000 0000 0000 0000 0000 0000 0000 0000  ................
*

Exit status is 0
debugfs -R ''stat pipe'' -w test.img
Inode: 14   Type: FIFO    Mode:  0000   Flags: 0x0
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 0
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
mtime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
BLOCKS:

Exit status is 0
debugfs -R ''stat sda'' -w test.img
Inode: 15   Type: block special    Mode:  0000   Flags: 0x0
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 0
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
mtime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
Device major/minor number: 08:00 (hex 08:00)
Exit status is 0
debugfs -R ''stat null'' -w test.img
Inode: 16   Type: character special    Mode:  0000   Flags: 0x0
Generation: 0    Version: 0x00000000
User:     0   Group:     0   Size: 0
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
mtime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
Device major/minor number: 01:03 (hex 01:03)
Exit status is 0
e2fsck -yf -N test_filesys
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
test_filesys: 16/64 files (0.0% non-contiguous), 29/512 blocks
Exit status is 0