LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Suse init scripts

[ILUG] Suse init scripts

Kevin Lyda kevin at ie.suberic.net
Fri Oct 8 10:55:00 IST 2010


On Fri, Oct 8, 2010 at 10:27, Brian O'Mahony
<brian.omahony at curamsoftware.com> wrote:
> Ok I don't use Suse a whole lot, generally being Debian or RedHat myself. I posted this on linuxforums.org. 60 views, no responses. Thought I might try here:
>
> So ive got a Suse server up and running. It is connecting to a clearcase server, so i want to mount the remote filesystem as part of startup, as this is generally rebooted when im not around.
>
> I would normally add something to /etc/init.d and put the shortcut to it in the appropriate runlevel (in this case 3). Tried that. Didnt work.

I don't follow your reasoning.  You have a remote fs you want to mount
therefore you write an init script - that doesn't follow.  If you want
an fs mounted, put it in /etc/fstab.  That's what it's there for.
Alternatively you can use autofs.  Either make more sense than an init
script.

For nfs you'll want to use the bg option (and possibly others).

Kevin

-- 
Kevin Lyda
Dublin, Ireland
US Citizen overseas? We can vote.
Register now: http://www.votefromabroad.org/


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell