<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:martin.pitt@ubuntu.com" title="Martin Pitt <martin.pitt@ubuntu.com>"> <span class="fn">Martin Pitt</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - fstab-generator interprets backslashes in CIFS mounts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89851">bug 89851</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTOURBUG
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - fstab-generator interprets backslashes in CIFS mounts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89851#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - fstab-generator interprets backslashes in CIFS mounts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89851">bug 89851</a>
from <span class="vcard"><a class="email" href="mailto:martin.pitt@ubuntu.com" title="Martin Pitt <martin.pitt@ubuntu.com>"> <span class="fn">Martin Pitt</span></a>
</span></b>
<pre>This unescaping is already done by getmntent(). With an fstab entry like
\\1.2.3.4\stuff /mnt/stuff cifs defaults,nofail 0 0
the me->mnt_fsname is \1.2.3.4\stuff. fstab uses \ as an escape character, so
I'm afraid this pretty much behaves as specified and you have to escape \ too
if you use them (i. e. use \\\\1.2.3.4...).
It's best to avoid those at all and use forward slashes for CIFS mounts.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>