Automatically mounting and unmounting Samba/Windows shares with CIFS
by Sander MarechalLast updated on 2007-12-03@23:55. At my work the employees are in the fortunate position that they are free to choose whatever OS they want to work with. At the moment the default is still Windows XP but you are free to wipe the drive and install whatever you feel—as long as you can do your job properly. And there is work underway to roll our own distribution for internal use. You're even free to bring in your Mac (but we won't supply you with one). The only thing that's banned (unofficially) so far is Windows Vista. Server-side we run a mixture of Linux and Windows, and the thend is to replace broken Windows machines by Linux machines if possible. In such a heterogeneous environment it makes sense to share our files through Samba. It's one of the few protocols that any OS can speak.
If you're running Windows Server 2003 then you can't use the smbfs driver that most Linux distributions ship by default. Sorry, no "Places » Connect to server" for you GNOME folk. You'll need to use the CIFS filesystem driver and you'll need to edit /etc/fstab. Adding the required fstab entries is actually quite easy as I will show below, but on Debian and it's derivative distributions you get a nasty error when you subsequently try to reboot or shutdown your machine, which hangs for about 30 seconds waiting for a timeout:
CIFS VFS: No Response for Cmd <number> mid <number>
It took me quite a bit of time to properly solve that one, but in the end it turned out to be quite simple. I will show you later in the article, but let's start mounting first.
The pen is mightier than the FUD
by Sander MarechalA few days ago Rob Enderle proclaimed that Open Source and Linux are losing momentum, without any evidence to back this up and despite that IDC and Gartner are saying the exact opposite. The FOSS community responded with rebuttals after which Rob posted a follow-up in which he makes some particularly nasty accusations. However, trying to follow Rob's logic in the original article quickly showed that it was not about a loss in momentum at all. That was just a framework on which to hang a different tale, one that gives us some insight in how he sees the world of software development.
This article was originally posted on LXer Linux News
Using Lightning 0.5 with Debian's IceDove
This is just a quick heads-up for those who want to use Mozilla's Lighting calendar plugin in combination with Debian's IceDove Thunderbird spin-off. You need to install libstdc++5 for it to work. If you don't, you get the Lightning user interface showing in IceDove but you cannot create new calendars.