LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2002, 03:04 AM   #1
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
slack init scripts


where can i get a good read (preferably website) on the slack init scripts thingy?
 
Old 05-14-2002, 03:33 AM   #2
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
You probabli know this already, but as far as i remember the Slack online book on slackware.com has a good section on init scripts...
Hope that helps

-NSKL
 
Old 05-14-2002, 04:41 AM   #3
Locksmiff
LQ Newbie
 
Registered: May 2002
Posts: 3

Rep: Reputation: 0
I know its not web, but I have an Unleashed of Slackware 7 I got on sale in a bookstore, Had an old dog eared 3.X that I gave to a friend when I got the 7.0 one
 
Old 05-14-2002, 06:40 AM   #4
vfs
Member
 
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184

Rep: Reputation: 30
Slackware uses a BSDish scheme for booting scripts. Got the idea?

Anyway, the best place to start learning about that is /etc/rc.d

HTH a Lil'

vfs.
 
Old 05-14-2002, 07:02 AM   #5
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
thanks all...
 
Old 05-14-2002, 07:34 AM   #6
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
i looked through all the scripts. i can't seem to find the part where they mount the various partitions. i want to NOT mount some of the partitions at boot-up.

any clues where to look?
 
Old 05-14-2002, 07:55 AM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
I don't mean to be rude, but is there any particular reason you want to do this by editing your init scripts? If you edit your /etc/fstab appropriately, you can have various partitions only mount when you specify (as with cds/dvds/zips/floppies/etc).
 
Old 05-14-2002, 01:48 PM   #8
vfs
Member
 
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184

Rep: Reputation: 30
If you don't want to mount all your partitions, do what Thymox said, this way. Suppose you don't want /dev/hda1 to be mounted at boottime. So put this line (replace the existing one!) in /etc/fstab:

/dev/hda1 /my_bad_named_dir ext2 noauto 0 0

HTH.

And please, ask correctly for help. I thought you were interested about learning how the booting process works, not mounting/umounting devices.

BTW, 'grep' for the line 'mount -a' in /etc/rc.d (I can't remember if in /etc/rc.d/rc.M or rc.S). This one mounts every partition duringboot proccess.

vfs.
 
Old 05-14-2002, 03:57 PM   #9
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
firstly, i WAS interested in the booting process, so my question was relevant. the unmounting bit came later.

secondly, don't worry about being rude. i'll roll with it.

thirdly, why didn't i use /etc/fstab? coz i was looking too deeply into something new and forgot all about it.

thanks for the help.
 
Old 05-15-2002, 05:58 AM   #10
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Didn't see the trees for the wood, eh? We've all been there at some point (some of use are still there - I've made myself a nice little cottage coz I'm there so frequently). Just outta curiosity, which part of the boot process were you looking at? I recently (last week) had to drastically kill my machine so I will be starting afresh. Since I haven't got time to fiddle with an LFS at the moment, I was going to look into boot-processes myself...
 
Old 05-15-2002, 07:07 AM   #11
vfs
Member
 
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184

Rep: Reputation: 30
Gui10:

Ok... Nevermind, but I think you could, i don't know, post something like "Howto ..." . Recently, I posted some bad subjects and people started to ... on me :-/

Anyway... Looks like your problem is over, uh?

vfs.
 
Old 05-15-2002, 11:12 AM   #12
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
yea... i guess i gotta use more imagination for my thread headers. i usually spend 5 mins wondering what i should put and end up putting something really lousy. geez...

well, i was looking into ALL the scripts relating to the boot process for the first time in my linux adventures. initially it looked intimidating so i approached with some trepidation. but eventually some of it made sense. the best part is that it's really well commented, thanks to Patrick. hardly need to look elsewhere to know where things are enabled/disabled or what's going on. after staring for a while, it made sense. (of course, it also meant hitting my forehead after reading Thymox's apt reminder about fstab... )

of course, that doesn't mean i can understand all of the stuff i'm looking at. a lot of it still looks like garbled nonsense to me (i know it's not... i'm just not all that familiar with scripts at the moment... )
 
  


Reply



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
init scripts lvgandhi Debian 2 10-11-2005 02:44 AM
Customize my init scripts Spack971 Slackware 16 07-04-2005 05:37 PM
New init scripts? xconspirisist Fedora 9 12-09-2004 11:41 AM
How to Debug Init Scripts MQMan Slackware 11 03-09-2004 12:40 PM
Scripts in /etc/rc.d/init.d correro Linux - General 1 03-13-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:35 PM.

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