summaryrefslogtreecommitdiffstats
path: root/tests/expected/libmount/tabfiles-py-parse-fstab-full
blob: f1caff6d9a56037dbfce651640b4687f9dbd4296 (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
Initial comment:
"#
 # this is a leading comment
#

"
------ fs:
source: UUID=d3a8f783-df75-4dc8-9163-975a891052c0
target: /
fstype: ext3
optstr: noatime,defaults
VFS-optstr: noatime
freq:   1
pass:   1
comment: '# this comments belongs to the first fs
'
------ fs:
source: UUID=fef7ccb3-821c-4de8-88dc-71472be5946f
target: /boot
fstype: ext3
optstr: noatime,defaults
VFS-optstr: noatime
freq:   1
pass:   2
------ fs:
source: UUID=1f2aa318-9c34-462e-8d29-260819ffd657
target: swap
fstype: swap
optstr: defaults
comment: '
# 3rd fs comment + newline padding

'
------ fs:
source: tmpfs
target: /dev/shm
fstype: tmpfs
optstr: defaults
------ fs:
source: devpts
target: /dev/pts
fstype: devpts
optstr: gid=5,mode=620
FS-opstr: gid=5,mode=620
------ fs:
source: sysfs
target: /sys
fstype: sysfs
optstr: defaults
------ fs:
source: proc
target: /proc
fstype: proc
optstr: defaults
------ fs:
source: /dev/mapper/foo
target: /home/foo
fstype: ext4
optstr: noatime,defaults
VFS-optstr: noatime
comment: '# this is comment
'
------ fs:
source: foo.com:/mnt/share
target: /mnt/remote
fstype: nfs
optstr: noauto
user-optstr: noauto
------ fs:
source: //bar.com/gogogo
target: /mnt/gogogo
fstype: cifs
optstr: user=SRGROUP/baby,noauto
user-optstr: user=SRGROUP/baby,noauto
------ fs:
source: /dev/foo
target: /any/foo/
fstype: auto
optstr: defaults
Trailing comment:
"
#this is a trailing comment
"