Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44160 - ncpfs mount have name in DOS 8.3 format instead of long names
Summary: ncpfs mount have name in DOS 8.3 format instead of long names
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 11:06 UTC by Christophe
Modified: 2004-04-01 06:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe 2004-03-09 11:06:37 UTC
I tried ncpfs-2.2.3 under amd64 (it compiled without error). I can mount the share. But the filenames are in 8.3 format instead of long names. Similar mount on x86 machine show regular long filenames.

Beisde that I succeeded to copy files, so it is partially working.


Reproducible: Always
Steps to Reproduce:
1. mount an ncpfs share
2. browse to the share
3.

Actual Results:  
Short filename in DOS 8.3 format

Expected Results:  
Long filenames

[#root-] emerge info
Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 x86_64 4
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.tucdemonic.org/gentoo/
ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X amd64 apm avi berkdb cdr cups dvd dvdr esd foomaticdb gdbm gif gnome gpm
gtk gtk2 gtkhtml imlib java jpeg kerberos ldap libg++ libwww mozilla mpeg mysql
ncurses opengl oss pam pdflib perl png postgres ppds python qt readline sdl
slang spell ssl tcltk tcpd tiff truetype xml2 xmms xv zlib"
Comment 1 Jason Huebel (RETIRED) gentoo-dev 2004-03-31 14:26:26 UTC
Did you enable Long filename support?

[*]   Use LONG (OS/2) namespace if available
Comment 2 Jason Huebel (RETIRED) gentoo-dev 2004-03-31 14:45:29 UTC
Just tested it on my system using kernel 2.6.4-r1 and ncpfs-2.2.3. Works fine for me.  Here are the applicable kernel config options that I have enabled:

CONFIG_NCP_FS=m
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
CONFIG_NCPFS_STRONG=y
CONFIG_NCPFS_NFS_NS=y
CONFIG_NCPFS_OS2_NS=y
CONFIG_NCPFS_SMALLDOS=y
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
Comment 3 Jason Huebel (RETIRED) gentoo-dev 2004-03-31 18:46:43 UTC
I've tested this against three different version of Netware with no problems... Closing.
Comment 4 Christophe 2004-04-01 06:46:58 UTC
Yep it works with the OS/2 option. Sorry about that. To my defense, the link between the name/description of that option and what it really does can be unclear.

In my case, a NTFS drive (Windows), shared with NetWare, mounted under Linux, need an OS/2 option, otherwise file names appear in 8.3 (DOS?) format ;)