[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

some questions



Hi

I recently installed Potato on a computer. Most of my previous exprience
is with RedHat and Mandrake. 
I have a couple of questions, whose answers I could not find in the docs.

1. When using a network adapter whose driver is compiled as a module -
where does this module get loaded?
I currently added a simple modprobe line to /etc/init.d/networking , but
there has to be a better way. On RedHat loading this module is done by the
ifup script.

2. Queries about existing packages:
rpm -q gives a very useful cmmand-line interface for the rpm
system. Things like:
rpm -qflc /usr/bin/foo 
#lists all config file of the package to which /usr/bin/foo belongs

dpkg seems more limited here. Is there any simple way to achive similar
goals with debian? Any way without too much shell witchcraft?

3. Anything similar to "status" of init.d scripts?
On RedHat running an init.d script with the parameter "status" gives a
simple status of that service. On most cases it checks for a process with
the PID listed in the /var/run file of the service, but in some cases
(e.g. suid, IIRC) the script is a bit different, as that serivce has
better ways to give status.
Any debian equivalent?

4. manipulating rc?.d
On RedHat there's a simple program called chkconfig for simple
manipulations of the symlinks in the rc?.d directories. It gets its
default values from some lines in the init.d scrip itself and has --add
and --remove . The update-rc.d seems to be only useful for package
installation and package removal.
I can always change those symlinks manually, but this can be a bit
erro-prone.

5. Single-user mode loads a whole bunch of stuff that are not really
needed.
What is the recomended way to load "failsafe" defaults? Using a floppy?

TIA

-- 
Tzafrir Cohen
http://www.technion.ac.il/~tzafrir



Reply to: