summaryrefslogtreecommitdiffstats
path: root/tests/d_special_files/expect
blob: a4761f16ff4c7c73758a6831416efbaae0d41771 (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
86
87
88
89
90
91
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:00000000
User:     0   Group:     0   Project:     0   Size: 3
File ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 atime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 mtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
crtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
Size of extra inode fields: 32
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:00000000
User:     0   Group:     0   Project:     0   Size: 80
File ACL: 0
Links: 1   Blockcount: 2
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 atime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 mtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
crtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
Size of extra inode fields: 32
BLOCKS:
(0):36
TOTAL: 1

Exit status is 0
debugfs -R ''block_dump 28'' -w test.img
0000  0000 0000 0004 0000 0000 0000 0000 0000  ................
0020  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:00000000
User:     0   Group:     0   Project:     0   Size: 0
File ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 atime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 mtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
crtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
Size of extra inode fields: 32
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:00000000
User:     0   Group:     0   Project:     0   Size: 0
File ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 atime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 mtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
crtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
Size of extra inode fields: 32
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:00000000
User:     0   Group:     0   Project:     0   Size: 0
File ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 atime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
 mtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
crtime: 0x50f560e0:00000000 -- Tue Jan 15 14:00:00 2013
Size of extra inode fields: 32
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), 37/512 blocks
Exit status is 0