Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi all, I have a Debian Etch system. From the Gnome file manager, I can easily browse to SMB file shares on the network. So the SMB redirector is apparently present on the system.
Question - how do I access SMB shares from the command line? smbmount command is not available, trying to cd into a smb://... path gives a "No such file" error. Any ideas, please? I'm not looking for a persistent mapping, just a brief look. Better yet if root access is not necessary.
smbtree - command not found.
smbclient - command not found.
Now, I'm not above installing packages when needed. It's the theoretical conundrum I'm worried about. Here I have a piece of functionality (SMB access in Gnome) that should extend all the way down to system call level. I mean, when I double-click a text file on the network, gedit is invoked with that file (it does, just checked). What kind of file name is passed to gedit? Is that a path in the regular filesystem? Is that an smb:// URL-style path? Is that a temporary local copy? If it's a smb: URL, is the magic for handling those somehow specific to gedit, or X Window applications in general?
GVFS. Now that answers the question. A userland-level virtual filesystem which supports URL-style paths. And a client library which replaces the vanilla open() syscall, linked from every Gnome app. There's no syscall-level support for SMB redirector on my system after all.
EDIT: and by the way, there are GVFS-aware command line utilities in Gnome: gnomevfs-ls, gnomevfs-copy, gnomevfs-cat, etc.