Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Sep 2000 06:16:24 -0400 (EDT)
From:      Network <redirect@mail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   mount_null Trouble, Please Help!!
Message-ID:  <379538839.967889784957.JavaMail.root@web431-mc.mail.com>

next in thread | raw e-mail | index | archive | help
FreeBSD 4.0-STABLE / Pentium class server

First, I have reasons to use mount_null instead of a
symlink because I am using anon FTP as well as secure
FTP (ProFTP) which needs to be accessible via apache
and a home dir.  Here is my problem, assume a scenario:

Original (web) directory: /somedir/www/
Mount point: /usr/home/someuser/www/

As a generic example.  To mount I simply do the
following:

mount_null /somedir/www/ /usr/home/someuser/www/

All works well, I can telnet in, list the directory
etc.  Here is an example of what mount listing outputs:

/somedir/www on /usr/home/someuser/www (null, local)

However when I copy any reasonably sized binary file
to the mount point, its completely screwed up on the
original directory...  For example:

bash-2.03$ pwd
/usr/home/someuser
bash-2.03$ cp myapp.tar.gz ./www
bash-2.03$

When I go to /somedir/www/, the file exists, and same
size and everything, but when I copy it from /somedir
or use download it via apache, or whatever, the file
is invalid, its got junk in it.  Why is this?

The only way to fix the problem is for me to get on as
root and copy it from their home to the web directory
beforehand.. not using mount_null at all.

Please help!
Thanks


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?379538839.967889784957.JavaMail.root>