From owner-freebsd-current@FreeBSD.ORG Mon Jun 9 18:02:46 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87E871065673 for ; Mon, 9 Jun 2008 18:02:46 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 62A878FC13 for ; Mon, 9 Jun 2008 18:02:46 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2626034rvf.43 for ; Mon, 09 Jun 2008 11:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=/Dt7ddUWAbm+iqnXKwmnWjmmKdHxIAJ1Wy1vvU1+BSw=; b=ZrJHnP3y+pjU9qDmbIl2+girR3FRQLTFgg8OZJ+WyJ5fYIAkGXye9x5XzAaoXnx2kX 15ZHzhgreka+ygiiwOOhcLzAHtOlt48tQpIiCquN/gmTc0EyJO4KZZ68gcTznaRa2r9Y 02UbYqGbKLeRqz7w0aivX1ydf0uviCMavMobg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=r6Xqf9jVhQlfgASVsKY0sHsjgKBU2mCL7ug/3/gFAkNXtSnbp38lpVPmhIrAZ2IW+f Q6PF/a1g9U/ymtatK0VJrX/GCMxgd8Iw5TGsGtU7ODpPTyF2lQ7g6XcRm8IDvEAN8iDr Q5uH3VYRvIeR8SHpzz5rYiM4om1ZBFtI5588A= Received: by 10.140.161.11 with SMTP id j11mr2351210rve.134.1213034566116; Mon, 09 Jun 2008 11:02:46 -0700 (PDT) Received: by 10.141.76.10 with HTTP; Mon, 9 Jun 2008 11:02:46 -0700 (PDT) Message-ID: <7d6fde3d0806091102k62637099qbaa73ca4d38ff64c@mail.gmail.com> Date: Mon, 9 Jun 2008 11:02:46 -0700 From: "Garrett Cooper" To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Moving from smbfs to cifs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 18:02:46 -0000 Hello all, I was wondering if there's been any serious thought put into migrating from smbfs (unmaintained project in kernel / userland since 2001) to cifs (currently supported Samba project). This is the mount_smbfs user tool that's available in userland. There are some related questions about this and observations that I've made: Pros: 1. cifs is the successor to smbfs, which is good from a performance and feature enhancement end. 2. It's supported, which means that any bugs in the code can be filed upstream and we'll be helped. This is an important point as I appear to be hard locking up my system with some kind of non-MPSAFE issue at kernel level on a very fresh copy of -CURRENT. Cons: 1. cifs is currently Linux centric (it currently uses quite a few Linux calls and references the Linux module code base); that will need to be fixed. 2. It's GPL v2 licensed, which means that more GPL code will "infect" the kernel, whereas smbfs was in a more BSD-like license format. So, my question would be "do the pros outweigh the cons for attempting to migrate from smbfs to cifs in the kernel?" Thanks, -Garrett