Revision 0969420b image_creator/os_type/freebsd.py
b/image_creator/os_type/freebsd.py | ||
---|---|---|
110 | 110 |
# libguestfs can't handle correct freebsd partitions on a GUID |
111 | 111 |
# Partition Table. We have to do the translation to linux device names |
112 | 112 |
# ourselves |
113 |
guid_device = re.compile('^/dev/((?:ada)|(?:vtbd))(\d+)p(\d+)$') |
|
113 |
guid_device = re.compile(r'^/dev/((?:ada)|(?:vtbd))(\d+)p(\d+)$')
|
|
114 | 114 |
|
115 | 115 |
mopts = "ufstype=ufs2,%s" % ('ro' if readonly else 'rw') |
116 | 116 |
for mp, dev in self._mountpoints(): |
Also available in: Unified diff