How to directly access files on windows network
news at pointerstop.ca
Thu Mar 9 14:05:09 UTC 2006
Shu Hung (Koala) wrote:
> On 3/9/06, kauer at ethz <kauer at biplane.com.au> wrote:
>> The "Properties" for the file say it is "smb://host/file", but vi rather
>> predictably can't handle that :-)
> I think you are using Gnome to mount the Windows Network.
> Actually, "smb://host/file" is not valid for the entire linux system.
> The path is only valid for Gnome and Gnome based programs.
Well, not quite. That uri format is used by Gnome (VFS?) and KDE (kio), and
I wouldn't be surprised if there were others. But, in any case, you need
to use programs that support such an access method.
> In other word, you cannot "vi" that remote file directly.
You can. In fact, you said:
> To directly edit a remote file, you need to use smbmount
Exactly. You can mount samba shares in /etc/fstab, or with mount
(type=smbfs), and that will use smbmount under the hood. I'm not sure
whether you can mount them with pmount, but I would expect so.
More information about the ubuntu-users