Import ncpfs 0.4
This commit is contained in:
BIN
.downloads/ncpfs-0.4.tgz
Normal file
BIN
.downloads/ncpfs-0.4.tgz
Normal file
Binary file not shown.
6
Changes
6
Changes
@@ -1,3 +1,9 @@
|
||||
ncpfs-0.3 -> ncpfs-0.4
|
||||
|
||||
- removed bug causing kernel to crash on filenames too long
|
||||
This was a typical C bug! Thanks to Uwe Bonnes,
|
||||
bon@elektron.ikp.physik.th-darmstadt.de for his patience with this one.
|
||||
|
||||
ncpfs-0.2 -> ncpfs-0.3
|
||||
|
||||
- removed bug in get_pname_static
|
||||
|
||||
7
Makefile
7
Makefile
@@ -6,7 +6,7 @@ INCLUDES = -I/usr/src/linux/include
|
||||
|
||||
CFLAGS = -Wall -Wstrict-prototypes -O2 -DMODULE -fomit-frame-pointer \
|
||||
$(INCLUDES) \
|
||||
# -DDEBUG_NCP=1 -DDEBUG_NCP_MALLOC
|
||||
# -DDEBUG_NCP=2 -DDEBUG_NCP_MALLOC
|
||||
# -DDEBUG_NCP_MALLOC
|
||||
|
||||
CC = gcc -D__KERNEL__ -I.
|
||||
@@ -27,6 +27,9 @@ all: ncpfs.o ncpmount ncptest
|
||||
ncpfs.o: $(OBJS)
|
||||
$(LD) -r -o ncpfs.o $(OBJS)
|
||||
|
||||
ncplib.o: ncplib.c ncplib.h
|
||||
$(CC) $(CFLAGS) -finline-functions -c $<
|
||||
|
||||
ncpmount: ncpmount.o
|
||||
gcc -o ncpmount ncpmount.o
|
||||
|
||||
@@ -40,7 +43,7 @@ ncptest.o: ncptest.c
|
||||
gcc -c ncptest.c -Wall -I. -g
|
||||
|
||||
ncplib_user.o: ncplib.o
|
||||
gcc -c ncplib.c -Wall -I. -g -o ncplib_user.o
|
||||
gcc -c ncplib.c -O3 -Wall -I. -g -o ncplib_user.o
|
||||
|
||||
nwcrypt.o: nwcrypt.c
|
||||
gcc -c -O2 -Wall nwcrypt.c
|
||||
|
||||
24
README
24
README
@@ -25,30 +25,6 @@ programming. If you know about the concepts and possibilities of NCP,
|
||||
Ralph Brown's interrupt list becomes much more readable. It's much
|
||||
easier to find undocumented information if you know what to look for!
|
||||
|
||||
|
||||
MAILING LIST
|
||||
|
||||
There is a mailing list for discussing lwared and ncpfs. Here's the
|
||||
message I received after subscribing:
|
||||
|
||||
---
|
||||
Thank you for your subscription to the list "linware".
|
||||
|
||||
Topics for the list:
|
||||
- discussing LinWare server, its features, installation problems and bugs
|
||||
- using IPX protocol under Linux
|
||||
- IPX routing and router daemons under Linux
|
||||
|
||||
Send your list postings to address: "linware@sh.cvut.cz"
|
||||
Send your list control commands to address: "listserv@sh.cvut.cz"
|
||||
---
|
||||
|
||||
You can subscribe to this list by sending a message with a line
|
||||
'add your_name@your_host linware' to listserv@sh.cvut.cz .
|
||||
|
||||
|
||||
NCPLIB
|
||||
|
||||
For the curious: the file ncplib.c is usable from user space as well.
|
||||
Look at the file ncptest.c for a possible use. I use ncptest to check
|
||||
my assumptions about the widely undocumented NetWare Core Protocol.
|
||||
|
||||
11
dir.c
11
dir.c
@@ -477,8 +477,10 @@ get_pname_static(struct inode *dir, const char *name, int len,
|
||||
}
|
||||
|
||||
#endif
|
||||
DDPRINTK("get_pname_static: parentname = %s, len = %d\n",
|
||||
DDPRINTK("get_pname_static: parentname = %s, parlen = %d\n",
|
||||
parentname, parentlen);
|
||||
DDPRINTK("get_pname_static: name = %s, len = %d\n",
|
||||
name, len);
|
||||
|
||||
if (len > NCP_MAXNAMELEN) {
|
||||
return -ENAMETOOLONG;
|
||||
@@ -553,7 +555,7 @@ get_pname(struct inode *dir, const char *name, int len,
|
||||
int result_len;
|
||||
int res;
|
||||
|
||||
if ((res = get_pname_static(dir,name,len,result,&result_len) != 0)) {
|
||||
if ((res = get_pname_static(dir,name,len,result,&result_len)) != 0) {
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -753,7 +755,7 @@ ncp_lookup(struct inode *dir, const char *__name, int len,
|
||||
return -ENOENT;
|
||||
}
|
||||
|
||||
DPRINTK("ncp_lookup: %s\n", __name);
|
||||
DDPRINTK("ncp_lookup: %s, len %d\n", __name, len);
|
||||
|
||||
server = NCP_SERVER(dir);
|
||||
|
||||
@@ -769,6 +771,9 @@ ncp_lookup(struct inode *dir, const char *__name, int len,
|
||||
return error;
|
||||
}
|
||||
|
||||
DDPRINTK("ncp_lookup: get_pname for %s returned %d\n",
|
||||
__name, error);
|
||||
|
||||
result_info = ncp_find_inode(NCP_SERVER(dir), name);
|
||||
|
||||
if (result_info != 0) {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
Begin3
|
||||
Title: ncpfs
|
||||
Version: 0.3
|
||||
Entered-date: 01. November 1995
|
||||
Version: 0.4
|
||||
Entered-date: 02. November 1995
|
||||
Description: With ncpfs you can mount volumes of your novell
|
||||
server under Linux.
|
||||
Keywords: filesystem kernel ncp novell netware
|
||||
Author: lendecke@namu01.gwdg.de (Volker Lendecke)
|
||||
Maintained-by: lendecke@namu01.gwdg.de (Volker Lendecke)
|
||||
Primary-site: linux01.gwdg.de:/pub/ncpfs
|
||||
~45k ncpfs-0.3.tgz
|
||||
~ 1k ncpfs-0.3.lsm
|
||||
~45k ncpfs-0.4.tgz
|
||||
~ 1k ncpfs-0.4.lsm
|
||||
Copying-policy: GPL
|
||||
End
|
||||
Reference in New Issue
Block a user