Date: Sat, 2 Sep 2000 13:57:29 +0200 From: Marc Silver <marcs@draenor.org> To: Network <redirect@mail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mount_null Trouble, Please Help!! Message-ID: <20000902135729.L48173@draenor.org> In-Reply-To: <379538839.967889784957.JavaMail.root@web431-mc.mail.com>; from redirect@mail.com on Sat, Sep 02, 2000 at 06:16:24AM -0400 References: <379538839.967889784957.JavaMail.root@web431-mc.mail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi there, From the mount_null manpage: BUGS: THIS FILESYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T WORK) AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM. USE AT YOUR OWN RISK. BEWARE OF DOG. SLIPPERY WHEN WET. Just something you might want to consider. :) I didn't have much luck with mount_null either -- caused kernel panics galore. Cheers, Marc On Sat, Sep 02, 2000 at 06:16:24AM -0400, Network wrote: > 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 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?20000902135729.L48173>