[PATCH] mount, cifs bug in 1.20.2 Kernel > 3.3.7

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 15 23:48:01 UTC 2013


On Tuesday 30 October 2012 15:53, Martin Santesson wrote:
> > Someone in kernel land decided that the option "unc=\\machine\share"
> > is now mandatory since 3.4.
> > It seems to ignore the Unix-style share passed as parameter and only
> > care about the "unc" option (which must have the windows style '\\'s).
> >
> > I didn't thought much about it (it's a regression in the kernel, but
> > it's too late in the game now), and that's how I worked around it.
> >
> >
> > Regards,
> > ~Nuno Lucas
> >
> 
> Hi,
> 
> I also ran into this problem. I wrote a patch which supplies the unc 
> option the kernel. Tested with Linux kernel 2.6.35, 3.2 (prior to 
> mandatory unc option) and 3.4. Please have a look at my patch and let me 
> know if it needs to be revised.
> 
> Regards,
> 
> Martin
> 
> >From fa16a76caebf1dfda1db81f0885e101624ac1462 Mon Sep 17 00:00:00 2001
> From: Martin Santesson <martinsn at axis.com>
> Date: Fri, 26 Oct 2012 09:40:04 +0200
> Subject: [PATCH] mount: add unc option to CIFS mount (needed for Linux 3.4+)
> 
> unc option for CIFS mount is mandatory after CIFS option parsing
> was rewritten in Linux 3.4
> 
> Signed-off-by: Martin Santesson <martinsn at axis.com>


Applied, thanks!
-- 
vda


More information about the busybox mailing list