[PLUG] Syntax to connect to network drive

John Jason Jordan johnxj at comcast.net
Sun Oct 15 05:44:49 UTC 2006


This has bugged me for a long, and I've not been able to learn how to
do it.

At home I have ethernet, on which I connect my Windows 2000 desktop and
my Ubuntu Dapper laptop. Both computers also go through a switch and
router to the cable modem. It all works just fine (normally).

However, I also have a 250 GB USB disk hanging on the Windows desktop.
I created two partitions on it, which the desktop sees as F and G. I
formatted F as NTFS and have been using it as backup media for the
Windows desktop. That part works fine. I formatted the other partition
as FAT32 and I want to use it as backup media for the laptop. 

I can create an rsync or tar command to do the backup from the laptop.
But on the command line I cannot get the syntax right for rsync to see
and write to the USB disk. Note: Nautilus sees it fine; SAMBA is
working perfectly. The problem is the command line syntax. Lots of //
and :: and stuff that I can't get right. I've read documention on this
for a long time and I can't figure out how many /'s to use and
where to put them. Also, when I access the drive with Nautilus I always
have to pop in my username and password for the Windows desktop, so I
suppose that must be handled as well. Or maybe that will automatically
pop up once I finally figure out how to tell rsync where to copy the
files to. It's the syntax for specifying a network partition that I
can't get right.

The laptop is Devil5 and the desktop is Devil4. So the destination
should be something like //Devil4/G:/Backups/ -- except that doesn't
work, so I must have it wrong. (/Backups is a folder I created on the
G:/ partition on the USB disk.)

I'm sure those of you who work in networking environments can't believe
that someone could not just automatically understand this, but I can't.
Any help is welcome. 



More information about the PLUG mailing list