[Bug 1440395] Re: fstab-generator interprets backslashes in CIFS mounts

2015-04-09 Thread Bug Watch Updater
** Changed in: systemd Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1440395 Title: fstab-generator interprets backslashes in CIFS mounts To

[Bug 1440395] Re: fstab-generator interprets backslashes in CIFS mounts

2015-04-07 Thread Martin Pitt
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 the