[Bug 809] New: mount doesn't work with cifs

bugzilla at busybox.net bugzilla at busybox.net
Sun Dec 13 19:11:04 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=809

           Summary: mount doesn't work with cifs
           Product: Busybox
           Version: 1.15.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: c.kaser at eduhi.at
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


For the mount command I have enabled the "Support mounting CIFS/SMB file
systems" and therefor I assumed that the command "mount //server/share /dir -o
user=xy,pass=yz" would mount a CIFS-share, as it was possible in previous
versions. But unfortunately this support has been disabled:

util-linux/mount.c

        if (ENABLE_FEATURE_MOUNT_CIFS
         && (!mp->mnt_type || strcmp(mp->mnt_type, "cifs") == 0)
         && (mp->mnt_fsname[0] == '/' || mp->mnt_fsname[0] == '\\')
         && mp->mnt_fsname[0] == mp->mnt_fsname[1]
        ) {
#if 0 /* reported to break things */
                len_and_sockaddr *lsa;

There was a problem with a 2.4 kernel, which led to the deactivating of that
code:

http://lists.busybox.net/pipermail/busybox/2009-April/068758.html

This "#if 0" breaks things with kernel 2.6.32.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list