LinuxQuestions.org
Help answer threads with 0 replies.
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, 04: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, 04: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: 46
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, 05: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, 07: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, 08:02 AM   #5
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
thanks all...
 
Old 05-14-2002, 08: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, 08:55 AM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
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, 02: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, 04: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, 06:58 AM   #10
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
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, 08: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, 12:12 PM   #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


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


All times are GMT -5. The time now is 12:31 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration