Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 01-28-2008, 12:27 AM   #1
Registered: Dec 2007
Posts: 59

Rep: Reputation: 15
Question How to find SMB mounted folder?

This should be easy, but I can't find a folder after I have mapped an SMB share.

Two computers, one Linux, one WinXP.

WinXP computer has a directory named Shared that is shared.

Linux computer connects through KNetAttach. All is well, new share is named /Share. View files on share from Linux box through Konqueror, all are present, access is granted, no problem (Konqueror is looking at smb://MyWinXPComputer/Shared ).

Open up terminal window, attempt to copy file to new share:
>cp my_file.txt \Shared\my_file.txt

But there is no such animal as a 'Shared' folder as far as the terminal is concerned! Thunar doesn't see it either - but I can browse it through Konqueror!

How to find that folder??? The mount must have been given a name and live in the file system somewhere - but where?



Last edited by RileyTheWiley; 01-28-2008 at 12:29 AM.
Old 01-28-2008, 02:49 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If it is mounted, then simply running mount should tell you where.
Old 01-28-2008, 02:19 PM   #3
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
I was thinking about the best way to ask the same basic question when I noticed your thread.

Let me try to rephrase the question to hopefully get a better answer.

Without having (knowingly) mounted anything, you can use the following syntax in Konqueror


to access that Windows share.

Riley seems to be assuming that once you have done so, Konqueror has left that Windows share mounted somewhere. If so, then the question is where did it leave that mounted?

The real question is how do we access that same share easily from outside Konqueror?

Originally Posted by Nylex View Post
If it is mounted, then simply running mount should tell you where.
I'll try that again later. I think I tried that already. I'm not on Linux at the moment.

If I'm remembering correctly, I typed mount in a terminal window while Konqueror had a share directory open. I didn't see anything in the mount output that looked like that share. So that would mean Konqueror dismounts and remounts the share for every operation?

I'm testing/using a bunch of different liveCD and liveDVD versions of Linux on several different Windows computers. In most cases, Linux cannot access the local NTFS file system (confused by the partition table, or confused by the IDE port, or confused by the raid, or just confused). In all cases, it can access the LAN. So any data I want to preserve from the test must be written across the LAN to a share on a different computer.

Early in testing Knoppix, I found some convenient GUI method to mount a share so that programs other than Konqueror could see it. Then I forgot what it was and never found it again and never found anything similar in other liveCD versions.

I know there is a command line way to mount a windows share. I've even done it and then forgotten the details. While busy being confused over a dozen other aspects of a partially working liveCD, it's hard to remember the syntax of the right command to create the mount point and mount the windows share. I'll relearn that soon if necessary, but if there is an easier answer (easy like smb: in Konqueror) that would be nicer.

Last edited by johnsfine; 01-28-2008 at 02:34 PM.
Old 01-28-2008, 05:25 PM   #4
Registered: Nov 2007
Location: Belgrade, RS
Distribution: Mandriva 2009.0 X86_64
Posts: 44

Rep: Reputation: 15
Actually, Konqueror does not mount anything.

If you are looking for GUI, give smb4k a try. It is a "SMB/CIFS share browser for KDE" and should be included in your distribution.
Old 01-28-2008, 05:31 PM   #5
Registered: Dec 2007
Posts: 59

Original Poster
Rep: Reputation: 15
Mmmm .... I think I get it ... I need to mount the drive explicitly, right? Connecting to the share just gives access through SMB and Konqueror, and konquers the validation and security issues.

Old 01-28-2008, 05:47 PM   #6
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
I found all the answers to this topic at

I guess I'm still a newbie at finding documentation, because I asked rather than finding that first.

Riley, I suggest checking the above link, though the answer "smb4k" that zoranp gave may be all that is needed.

Edit: But now I'm back on Linux and see that smb4k is not preinstalled in SimplyMEPIS, at least not in SimplyMEPIS-CD_7.0-rel_32.

That documentation I linked above says "SMB4k is preinstalled in SimplyMepis". I guess they mean a different version. I wish it was in this version. Of course that only matters for liveCD. If you installed Linux, it is trivial to go into the package manager and install smb4k. Even in liveCD, I went into the package manager and installed it and it works fine. But it will be gone when I reboot.

Also, sorry about the topic hijack/drift. I thought it was the same question when I jumped in, but now realize my question was really a Mepis/liveCD question.

Last edited by johnsfine; 01-28-2008 at 07:21 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with access to mounted network SMB resource. apogee_ru Linux - Networking 2 01-30-2007 07:57 AM
Documents Folder Mounted BarfBag Ubuntu 0 03-09-2006 01:44 PM
permission problems with mounted smb shares mackayr Linux - Networking 3 12-30-2004 12:48 AM
Howto change the ownership of mounted smb resource?? sys7em Linux - Newbie 4 12-23-2004 03:48 PM
Accessing a mounted smb share hangs haddad Linux - Wireless Networking 0 07-24-2004 06:52 AM

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration