Kernel 2.6 supports a new (and IMHO better) smb based fs called cifs. Attached are 3 small patches to make using this filesystem in Gentoo possible. the samba ebuild patch is needed to make a symlink from /usr/bin/mount.cifs to /sbin/mount.cifs, because the standard mount command expects it there and won't work otherwise. Thanks, Ronald. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-rc3) ================================================================= System uname: 2.6.5-rc3 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="X alsa arts avi cdr crypt dvd encode fam gif gtk gtk2 java jpeg kde mmx moznocompose moznoirc moznomail mpeg opengl pam pdflib png qt quicktime readline samba sse ssl tiff truetype x86 xmms zlib"
Created attachment 28613 [details, diff] patch to baselayout/localmount to include cifs
Created attachment 28614 [details, diff] patch to baselayout/netmount to include cifs
Created attachment 28615 [details, diff] patch to samba ebuild for /sbin/mount.cifs symlink
included samba ebuild part in bug 48871. Thanks :)
This is not an enhancement, this is critical. On halt, cifs mounts will be unmounted after the network has been shut down. On boot, localmount will try to mount cifs stuff which is not available. With kernel 2.6, you really shouldn't use smbfs, but cifs since it offers advantages in both: talking to a WinNT- and a Samba-server.
Thanks, this is now in rc-scripts cvs and will appear in the next baselayout
which baselayout version will contain the patches? BTW: the bug-report is now nearly 4 months old *sigh*
4-months is better than 4-years! ;-| sorry for the wait. it will be in baselayout-1.10.2
baselayout-1.10.2 released
*** Bug 51660 has been marked as a duplicate of this bug. ***