Two Debian 2.0 Qs

Two Debian 2.0 Qs

Post by golgo » Wed, 14 Oct 1998 04:00:00



I just installed Debian 2.0.
1) what are the floppy drives that are designated with letter 'u'?
2) what is the proper total shutdown procedure?  if I do 'shutdown -t
now' it take me to the maintenance prompting me to enter super user
password......
3) how do I change run-level in debian?  is there any utility or
something?  I ask this because when I tried Debian last time which was
about 6 months ago, the run level related things were TOTALLY
different from descriptions in the Linux books that I have.

TIA!
-----

                                                ^
(Remove third letter from word 'motivation', to get the e-mail
address.)

 
 
 

Two Debian 2.0 Qs

Post by Jens Ritte » Wed, 14 Oct 1998 04:00:00



> I just installed Debian 2.0.
> 1) what are the floppy drives that are designated with letter 'u'?

I don't know.

Quote:> 2) what is the proper total shutdown procedure?  if I do 'shutdown -t
> now' it take me to the maintenance prompting me to enter super user
> password......

shutdown -h 1 m or shudown -r 1 m

see man shutdown.

Quote:> 3) how do I change run-level in debian?  is there any utility or
> something?  I ask this because when I tried Debian last time which was
> about 6 months ago, the run level related things were TOTALLY
> different from descriptions in the Linux books that I have.

init <runlevel>

HTH,

Jens
--

KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
             Nach dem Spiel,                 After the game,
             ist vor dem Spiel.              is before the game.
                -- Sepp Herberger

 
 
 

Two Debian 2.0 Qs

Post by J.H.M. Dass » Wed, 14 Oct 1998 04:00:00



>2) what is the proper total shutdown procedure?  if I do 'shutdown -t
>now' it take me to the maintenance prompting me to enter super user
>password......

shutdown -h -t now
         ^^

Quote:>3) how do I change run-level in debian?  is there any utility or
>something?

telinit(8).

Quote:>I ask this because when I tried Debian last time which was about 6 months
>ago, the run level related things were TOTALLY different from descriptions
>in the Linux books that I have.

For some reason, a lot of books about Linux are still based on Slackware,
which uses BSD-style init scripts, rather then System-V-like ones, which
Debian, Red Hat and others use.

Ray
--
PATRIOTISM  A great British writer once said that if he had to choose
between betraying his country and betraying a friend he hoped he would
have the decency to betray his country.                                      
- The Hipcrime Vocab by Chad C. Mulligan

 
 
 

Two Debian 2.0 Qs

Post by David Z. Maz » Thu, 15 Oct 1998 04:00:00


g> 1) what are the floppy drives that are designated with letter 'u'?

They're floppy devices that only run at specific capacities; they're
generally used for formatting disks and nothing else.

g> 2) what is the proper total shutdown procedure?  if I do 'shutdown -t
g> now' it take me to the maintenance prompting me to enter super user
g> password......

You need to add -h to halt or -r to reboot; see shutdown(8) for
details.  I generally shut down with 'shutdown -h now -t3' or some
such thing.

g> 3) how do I change run-level in debian?  is there any utility or
g> something?

The same way as with any other Linux: use the 'telinit' utility.  So
'telinit 1' goes to single-user mode (same as 'shutdown' with no
flags), 'telinit 2' goes to a "standard" multi-user mode, etc.

<soapbox>Runlevels under Linux do not have a well-defined meaning,
although by convention 0 is shutdown, 1 is single-user, and 6 is
reboot.  Debian doesn't have a particular runlevel for xdm vs. not
xdm; I've used systems where that runlevel has been 4, 5, and 6 (an
old Slackware box).  Saying "I booted to runlevel 5" is *completely*
meaningless since the local admin can trivially change /etc/inittab to
do whatever he/she wants at each runlevel.</soapbox>

Normally in Debian runlevels 2, 3, 4, and 5 are all identical; you can
use the update-rc.d utility to change what runs when.

PS: Your "From:" line appears to be incorrect, in particular it has an
extra "z".  Could you please fix it?  Thanks...

--
 _____________________________
/                             \       "Dad was reading a book called
|          David Maze         |     _Schroedinger's Kittens_.  A*

| http://www.veryComputer.com/|               -- Abra Mitchell
\_____________________________/