Question for all ye Linux gurus

Tap-Out

Literotica Guru
Joined
Apr 6, 2002
Posts
3,566
G'day all

I have a quick question regarding samba I was hopeing someone out there is able to help me out.

I have samba all up and working fine. My Windows computers can see my Linux computers and visa-versa. That's not a problem.

When I use Konqueror to browse my files on my system I can eaily type " smb://computername " and see all of the shared folders on that computer. However when I double click on one of those folders it takes several minutes, for the files to appear, if they appear at all.

My work around for that is to go to the konsole and use " smbmount //computername/share /mnt/samba " and it works fine. I can go back into Konqueror and go to the /mnt/samba folder and everything is there in a flash.

My question is this. Is there a way I can use the smbmount command from within the konsole to mount a computer into the /mnt/samba directory as supposed to a folder within the computer? Basically so that I can see Share-1, Share-2, Share-3, all at the same time, as supposed to mounting and unmounting each shared folder individually?

Thanks for reading. Any and all help is greatly appreciated.

Tap
 
You can mount to any directory which exists. So if you create a directory for each share you want to in the /mnt directory. Say:

/mnt/s1
/mnt/s2
...
/mnt/sX


You can have all of them mounted at the same time. Main limit will be how much net traffic your machine can handle.

If you want, you can add lines to the /etc/fstab to have the shared mounted at boot time. Format is along the lines of:

//server/share /mnt/dir smbfs username=user,password=xxx 0 0
 
linuxgeek said:
You can mount to any directory which exists. So if you create a directory for each share you want to in the /mnt directory. Say:

/mnt/s1
/mnt/s2
...
/mnt/sX


You can have all of them mounted at the same time. Main limit will be how much net traffic your machine can handle.

If you want, you can add lines to the /etc/fstab to have the shared mounted at boot time. Format is along the lines of:

//server/share /mnt/dir smbfs username=user,password=xxx 0 0

Thanks for that. But I guess doing the whole mounting an entire server's directory into a single folder is outa the question? That sucks, but I guess what can ya do?

Thanks for the help :)
 
Tap-Out said:
Thanks for that. But I guess doing the whole mounting an entire server's directory into a single folder is outa the question? That sucks, but I guess what can ya do?

Thanks for the help :)

If you have the admin shares on or do a user share at the drive level, no reason you can't mount them and have the whole harddrive mounted into your directory tree.
 
Lady Christabel said:
God, programmers are hot.
Just a note - not all Linux Geeks are "programmers", many are system administrators, network specialists, tech support people, hardware guys, etc. - they know how to setup the systems and solve problems, but they may or may not know how to write code.

OTOH, "programmers" (I prefer "Software Engineer" or "Developer") often don't know how to setup the systems. Many of us are basically power users and we rely on sysadmins/etc. to setup and maintain our systems. We know how to write applications or even the operating system processes themselves, but many of us are too busy/absorbed in our world of software development to take time to learn how to setup and maintain computers and networks. I know what Samba is (I have used it on Macs for networking), but I don't know how to properly set it up.
 
LC persecption is probably just biased by me. I program, setup systems, recover systems, admin systems, & teach others how to use systems.

When you've been playing with various computer systems for 20 years or so , you have a better chance of playing with more aspects. I also like hacking through systems to figure out how they work. Helps when I have to fix them later. Also helps to have a decently rounded understanding to be able to teach other effectively.
 
linuxgeek said:
LC persecption is probably just biased by me. I program, setup systems, recover systems, admin systems, & teach others how to use systems.

When you've been playing with various computer systems for 20 years or so , you have a better chance of playing with more aspects. I also like hacking through systems to figure out how they work. Helps when I have to fix them later. Also helps to have a decently rounded understanding to be able to teach other effectively.
I find I keep myself busy enough just trying to keep up to date in my profession.

Between learning the new development paradigms (Agile, Scrum, XP, Patterns, etc.), new languages and APIs, new platforms, and since I don't have a CS degree, I have to learn a lot of basics that many of my collegues take for granted, like parsers/lexers, sorting algorithms, stuff like that.

All that doesn't leave a lot of mindshare left over for hacking systems - there is always some new API, platform or language to learn - not to mention the problem domain I am working in (which can vary from biotech to publishing to voice mail to any of a dozen different businesses).
 
yeah, job preformace requirements can definately muck up the play time. I am fortunate that my job doesn't require me to be focused in just one direction. I have my primary duties with Netware and secondary duties which often overlap with things I want to play with. With Novell starting to ship SuSe Linux Enterprize server as part of their server package, I'll probably end up having some of my Linux stuff move up to Primary status over the next few months.
 
linuxgeek said:
yeah, job preformace requirements can definately muck up the play time.
There are not many software companies that are willing to let deadlines slide so that a developer can learn how to setup and maintain an OS they are not developing for. The usual case is that the developer barely has enough time to meet the deadline as it is.

So, we have to do it on our own time, and after 8-10 hours writing software I am usually not inclined to come home and spend any more time trying to setup and maintain a Linux box. I am only doing it now because I am unemployed and it would increase my marketability.
 
Ya go with what works for ya.

I definately understand not even wanting to look at a computer at home after dealing with them for 8+ hours on a daily basis for work.

You have to wonder if other professions are like that. Does a male GYN/OB come home at night some times and when his wife/gf want to play he's basically like "If I see one more of those today..."
 
linuxgeek said:
Ya go with what works for ya.

I definately understand not even wanting to look at a computer at home after dealing with them for 8+ hours on a daily basis for work.
An additional aspect of the problem is that while companies understandably don't want to pay programmers (at least on the job) to learn about tech that they aren't using, such as Linux if they are a Windows shop, they also don't want to hire someone who only knows Windows to work on a Linux project - so we are left to our own devices.

Moreover, they often want that experience to be on a commercial project, so if you can't find an employer willing to employ you for something you don't have OTJ experience in, you may have difficulty breaking into that tech.

The stupid thing about it is that most operating systems, and even languages are pretty much the same once you get used to them. Oh yeah, the syntax is different, but the principles are the same for the most part. I know three different Object Oriented languages, Java, C++ and Object Pascal - but they aren't that fundamentally different, same more or less goes for operating systems.

You have to wonder if other professions are like that. Does a male GYN/OB come home at night some times and when his wife/gf want to play he's basically like "If I see one more of those today..."
Oh yeah. Plumbers don't want to come home to leaky pipes, mechanics to a broken car, carpenters to home projects. I have done a lot of different things, but after 8-10 per day of doing one thing, I don't want to come home and keep on doing it - I need a break to clear my head.
 
Back
Top