On Thu, 9 Sep 2004, Joseph Alotta wrote:
I want to back up my personal web pages that are on the earthlink server. I
figure if I can mount them, then psync can do the rest.
Looks like this will work:
$ mkdir /tmp/debian
$ mount_ftp ftp://ftp.us.debian.org/debian/
/tmp/debian/
$ ls -la /tmp/debian/
total 25979
dr-xr-xr-x 1 cdevers unknown 512 Sep 9 14:08 .
drwxrwxrwt 41 root wheel 1394 Sep 9 14:08 ..
-rw------- 1 cdevers unknown 943 Nov 20 2003 README
-rw------- 1 cdevers unknown 1290 Dec 4 2000 README.CD-manufacture
-rw------- 1 cdevers unknown 2677 Jul 24 2003 README.html
-rw------- 1 cdevers unknown 76978 May 26 18:52 README.mirrors.html
-rw------- 1 cdevers unknown 38599 May 26 18:52 README.mirrors.txt
-rw------- 1 cdevers unknown 23336 May 26 18:52 README.non-US
lrwx------ 1 cdevers unknown 13 Apr 6 23:58 README.pgp -> README.non-US
drwx------ 1 cdevers unknown 4096 Nov 20 2003 dists
drwx------ 1 cdevers unknown 4096 Sep 8 18:52 doc
drwx------ 1 cdevers unknown 4096 Sep 8 19:36 indices
-rw------- 1 cdevers unknown 23462655 Sep 8 19:37 ls-lR
-rw------- 1 cdevers unknown 2709576 Sep 8 19:37 ls-lR.gz
-rw------- 1 cdevers unknown 271044 Sep 8 19:37 ls-lR.patch.gz
drwx------ 1 cdevers unknown 46 Dec 19 2000 pool
drwx------ 1 cdevers unknown 79 Mar 26 2002 project
drwx------ 1 cdevers unknown 4096 Sep 12 2002 tools
$ df -Th /tmp/debian/
Filesystem Type Size Used Avail Use% Mounted on
ftp://ftp.us.debian.org/debian/
nfs 1.0G 1.0G 0 100% /tmp/debian/
$
Neat-o, I'd never thought of trying that before...
The only catches seem to be that:
* it seems like the Finder can't browse this directory -- I
get an error about having to wait for the resource to become
available -- but everything seems to work just fine, and very
responsively, on the command line.
* I can't figure out how to unmount it... :-)
Aside from that little wrinkle, this seems to work well...
--
Chris Devers