Re: Running defrag in single user mode...

1997-12-06 Thread Carey Evans
Curt Howland [EMAIL PROTECTED] writes:

 How does one go into single user mode, then start
 the multi user functions again?

The way I do it, when there aren't bigger problems:

  At the console, as root, enter telinit 1.

  To leave single-user mode, exit the shell.

-- 
Carey Evans  *  http://home.clear.net.nz/pages/c.evans/  gc

 Trust Ivanova.  Trust yourself.  Anybody else - shoot 'em.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-06 Thread Oliver Elphick
Curt Howland wrote:
  How does one go into single user mode, then start
  the multi user functions again?
  
  I pulled a defrag package down, but it won't run
  (for blatently obvious reasons) in multi-mode.

In 10 years of using Unix and Linux I have never had to defragment a disk.

This isn't a Micro$oft product...

Can anyone suggest why one might want to defragment a disk in Linux?


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-06 Thread Frank Barknecht
Curt Howland hat gesagt: // Curt Howland wrote:

 Quick question from a non-unix person who doesn't
 want to break something just poking around...
 
 How does one go into single user mode, then start
 the multi user functions again?
 
 I pulled a defrag package down, but it won't run
 (for blatently obvious reasons) in multi-mode.
 
 No need to tell me I have to do it from the console,
 that much is clear. :^
 

Quick answer:
RTFM telinit.

A bit slower:

Login as root on a console and change the runlevel to single user 
mode with telinit. 
E.g.

# telinit 1

[ ... Do your sysadmin stuff ...]

Go back to your favorite multiuser runlevel with e.g.

# telinit 2
-- 
  Yours a href=http://www.koeln-online.de/einblick/;
  Frank Barknecht   Das Koelner Stadt- und Unimagazin
  -   /a


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-06 Thread Orn E. Hansen
Oliver Elphick writes:
  
  In 10 years of using Unix and Linux I have never had to defragment a disk.
  
  This isn't a Micro$oft product...
  
  Can anyone suggest why one might want to defragment a disk in Linux?
  

 On a related issue...

 Doesn't Unix load data on demand? i.e. when you run a program,
doesn't it just load the first page, and then each page as it is
referenced? and a similar technique for data?

 And besides, since this is a multiuser multitasking system that is
running several programs at the same time, and perhaps even
swapping.  The disk is spinning and the head is going back and forth
more or less all the time, and it is highly unlikely that the entire
data is loaded before the head is moved again. if my memory doesn't
fail :-), doesn't Unix also use a hard disk reading technique that is
far superior to M$ which enables it to read the wanted data between
two endpoints in a single run?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-06 Thread Joey Hess
Oliver Elphick wrote:
 In 10 years of using Unix and Linux I have never had to defragment a disk.
 
 This isn't a Micro$oft product...
 
 Can anyone suggest why one might want to defragment a disk in Linux?

I have a partition that is 15% fragmeneted (after a year and a half of use..)
I'm starting to consider defragging it.

-- 
see shy jo


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-06 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Curt Howland [EMAIL PROTECTED] wrote:
Quick question from a non-unix person who doesn't
want to break something just poking around...

How does one go into single user mode, then start
the multi user functions again?

As many other people on this list already mentioned, you can use init 1
or telinit 1 to go single user. However you can also just use
shutdown now. The absence of the -r (reboot) and -h (halt) flag will
cause shutdown to go to single user mode.

Mike.
-- 
 Miquel van Smoorenburg |  Studying to be a technomage   *
[EMAIL PROTECTED]  | May you live in interesting times


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Running defrag in single user mode...

1997-12-05 Thread Curt Howland
Quick question from a non-unix person who doesn't
want to break something just poking around...

How does one go into single user mode, then start
the multi user functions again?

I pulled a defrag package down, but it won't run
(for blatently obvious reasons) in multi-mode.

No need to tell me I have to do it from the console,
that much is clear. :^

Curt-
[EMAIL PROTECTED]  www.Priss.com


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-05 Thread Ben Gertzfield
Single-user mode is also known as runlevel 1.

To go to any runlevel, as root run 'telinit [level]' -- so 'telinit 1'
would bring you to single-user mode, 'telinit 0' would shut down the
system, 'telinit 6' would reboot.. and 'telinit 2' (or 3 or 4) would
bring you back to multi-user mode.

You could also reboot, and at the LILO prompt give the argument
'single' or 'emergency' after your label (I do 'linux single' to boot
into Linux single-user).

-- 
Brought to you by the letters Y and U and the number 11.
It's cold.. and there are wolves.. -- Grampa Simpson
Ben Gertzfield http://www.imsa.edu/~wilwonka/ Finger me for my public
PGP key. I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-05 Thread Jens B. Jorgensen
Curt Howland wrote:
 
 Quick question from a non-unix person who doesn't
 want to break something just poking around...
 
 How does one go into single user mode, then start
 the multi user functions again?

At the lilo prompt, type your image name plus 'single'
 
 I pulled a defrag package down, but it won't run
 (for blatently obvious reasons) in multi-mode.

Are you sure you need to run defrag? From accidents I've
heard of I get the feeling it isn't the most stable thing
in the world.
 
-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .