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!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
AFAIK the capabiity of browsing SMB shares is built into Gnome/Nautilus using GVFS and independent of the samba client utilties.
samba does have multiple packages i.e server, client and common. It is possible to install the server and common package without the client. Is samba installed?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.