Re: Antwort: Rebooting is foolish ....

2001-03-04 Thread Erik Steffl
Mariusz Zielinski wrote:
> 
> Erik Steffl wrote:
> >
> > [EMAIL PROTECTED] wrote:
> 
> [...]
> 
> > > want it active. If you change the partitiontable it might be usefull.
> >
> >   why? you can create filesystems and mount/unmount disks (partitions)
> > without rebooting...
> 
> When you are using reiserfs you have to :(
> 
> http://www.namesys.com/faq.html#repartitioning

  hell, does MS has its fingers in reiserfs??? anyway, there's a hope:
"We intend to fix that..." (from the link above)

erik



Re: Antwort: Rebooting is foolish ....

2001-03-04 Thread Mariusz Zielinski
Erik Steffl wrote:
> 
> [EMAIL PROTECTED] wrote:

[...]
 
> > want it active. If you change the partitiontable it might be usefull.
> 
>   why? you can create filesystems and mount/unmount disks (partitions)
> without rebooting...

When you are using reiserfs you have to :(

http://www.namesys.com/faq.html#repartitioning

>   about the only reason for a reboot is if you want to use different
> kernel.

Long life to the uptime :)

-- 
Mariusz Zielinski



Re: Antwort: Rebooting is foolish ....

2001-02-19 Thread Erik Steffl
[EMAIL PROTECTED] wrote:
> 
> As far as I know you only might want to reboot if you change the hostname and

  there's no need to reboot in this case.

> want it active. If you change the partitiontable it might be usefull.

  why? you can create filesystems and mount/unmount disks (partitions)
without rebooting...

  about the only reason for a reboot is if you want to use different
kernel.

erik



Re: Antwort: Rebooting is foolish ....

2001-02-17 Thread Jaye Inabnit ke6sls

   Hi Cam,

That really sounds like it could be fun! Just thinking here, how to pull
off that ... How about using an 'at'command. give yourself 2 minutes to
change the kb, at will restart gpm then do it again 2 minutes later so
you can see if new stuff works, and if it doesn't gives you time to plug
in your current stuff  ... :) Linux rulez!

tatah


On Saturday 17 February 2001 07:19, Cam Ellison wrote:
> Osamu Aoki wrote:
> > I agree with Carel.  As long as X read from /dev/gpmdata (most sane
> > configuration but too many people disregards...), reboot is not
> > needed for KB/mouse initialization.
> >
> > I just unplugged my mouse while in X4, replug -- cant move,
> > restrted gpm to initialize, there I go again.
> >
> > By the way, when you have buggy multi-PC KB switcher, and
> > KB goes crazy, restarting gpm also intialize KB nicely.
>
> OK, I'll offer a test.  I do have a keyboard I want to try, and I don't
> want to go through the hassle of shutting down.  How am I to issue a
> command if I disconnect the keyboard and the new one doesn't work?
>
> I'm serious -- I am exactly in that position right now, and I'd welcome
> the opportunity to try this out.  What do I need to do (please be fairly
> explicit, I've still got a lot to learn about this)
>
> TIA
>
> Cam

-- 

Jaye Inabnit, ARS ke6sls e-mail: [EMAIL PROTECTED]
707-442-6579 h/m 707-268-4074
http://www.qsl.net/ke6slsICQ# 12741145
This mail composed with kmail on kde on X on linux warped by debian
If it's stupid, but works, it ain't stupid.




Re: Antwort: Rebooting is foolish ....

2001-02-17 Thread Carel Fellinger
On Sat, Feb 17, 2001 at 07:19:28AM -0800, Cam Ellison wrote:
> Osamu Aoki wrote:
...
> > By the way, when you have buggy multi-PC KB switcher, and
> > KB goes crazy, restarting gpm also intialize KB nicely.
> > 
> OK, I'll offer a test.  I do have a keyboard I want to try, and I don't
> want to go through the hassle of shutting down.  How am I to issue a
> command if I disconnect the keyboard and the new one doesn't work?
> 
> I'm serious -- I am exactly in that position right now, and I'd welcome
> the opportunity to try this out.  What do I need to do (please be fairly
> explicit, I've still got a lot to learn about this)

Try this long command:

# while true; do
/etc/init.d/gpm stop
echo -n Swap your keyboard...
sleep 30
/etc/init.d/gpm start
echo and try it out...
sleep 300
done

The sleep 30 will give you time to dis/reconnect the keyboard.
The sleep 300 will give you some time to test the new keyboard
(on a different virtual console that is) And the while will give
several runs to try it.  Stop the while with Ctrl-C.
But don't sue me if it doesn't work:)

-- 
groetjes, carel



Re: Antwort: Rebooting is foolish ....

2001-02-17 Thread Cam Ellison
Osamu Aoki wrote:
> 
> I agree with Carel.  As long as X read from /dev/gpmdata (most sane
> configuration but too many people disregards...), reboot is not
> needed for KB/mouse initialization.
> 
> I just unplugged my mouse while in X4, replug -- cant move,
> restrted gpm to initialize, there I go again.
> 
> By the way, when you have buggy multi-PC KB switcher, and
> KB goes crazy, restarting gpm also intialize KB nicely.
> 
OK, I'll offer a test.  I do have a keyboard I want to try, and I don't
want to go through the hassle of shutting down.  How am I to issue a
command if I disconnect the keyboard and the new one doesn't work?

I'm serious -- I am exactly in that position right now, and I'd welcome
the opportunity to try this out.  What do I need to do (please be fairly
explicit, I've still got a lot to learn about this)

TIA

Cam


-- 
Cam Ellison Ph.D. R.Psych.
>From Roberts Creek on B.C.'s incomparable Sunshine Coast
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: Antwort: Rebooting is foolish ....

2001-02-17 Thread Martin Tanzer
John Galt wrote:
--- snip ---
> Linux Fdisk resyncs the disks almost immediately.  DOS fdisk requires a
> reboot to do this.  Did you reboot after running fdisk when installing
> Debian?

I definitely have to reboot installing my alphas. I don't know if I had
to reboot the machine with the arc-colsole, but for shure the machines
with the srm-conole (fortunytely I have to install very seldom my own
machines, thanx, Linus! ;-) This has something to do that the
SRM-cosoles need partitions with BSD-Labels (what ever this is).
I hate installing my alphas - installation is easy, but making these
beasts boot is painful. But thats another story...

martin



Re: Antwort: Rebooting is foolish ....

2001-02-17 Thread Nathan E Norman
On Fri, Feb 16, 2001 at 06:19:29PM -0700, John Galt wrote:
> On Fri, 16 Feb 2001 [EMAIL PROTECTED] wrote:
> >want it active. If you change the partitiontable it might be usefull.
> 
> Linux Fdisk resyncs the disks almost immediately.  DOS fdisk requires a
> reboot to do this.  Did you reboot after running fdisk when installing
> Debian?

I'm quite sure that if you repartition a disk while any partition is
mounted, other utilities such as mke2fs do not "see" the new
partitioning scheme until a reboot. If there aren't any partitions
mounted on the disk in question then all's well ...

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpM1Oq8Y1Fwt.pgp
Description: PGP signature


Re: Antwort: Rebooting is foolish ....

2001-02-17 Thread Osamu Aoki
I agree with Carel.  As long as X read from /dev/gpmdata (most sane
configuration but too many people disregards...), reboot is not
needed for KB/mouse initialization.

I just unplugged my mouse while in X4, replug -- cant move,
restrted gpm to initialize, there I go again.

By the way, when you have buggy multi-PC KB switcher, and
KB goes crazy, restarting gpm also intialize KB nicely.

I have one occasion which needs reboot. "TESTING new LILO/mbr
configuration (booting multiple linux installation with 
multiple kernel images...".

Osamu

On Fri, Feb 16, 2001 at 11:29:46PM +0100, Carel Fellinger wrote:
> On Fri, Feb 16, 2001 at 05:30:11PM -0500, David B . Harris wrote:
> > To quote Carel Fellinger <[EMAIL PROTECTED]>,
> > # On Fri, Feb 16, 2001 at 04:06:03PM -0500, David B . Harris wrote:
> > # ...
> > # > You also need to re-boot for some hardware re-initialization. See
> > the
> > # > recent thread on XFree 4.0.2 and an IntelliMouse-compatible mouse.
> > # 
> > # I doubt it.  Any trouble I've had with PS2 mouses not being properly
> > # initialized could be solved by "/etc/init.d.gpm restart" preceded by
TYPO: "/etc/init.d/gpm restart"
> > # the occasionally physical reconnecting of the mouse.  But YMMV:)
> > 
> > Don't doubt it. I didn't just make it up to prove that a reboot *could*
> > be required to re-initialize hardware :)
> 
> But I *do* doubt it:)
> You see, unplugging the mouse and then replugging it resets the mouse,
> restarting gpm redoes the initialisation, so what else could be necessery?
> Ofcourse I could be overlooking something.  I've read that thread you
> refered to, but I don't remember having seen that the really did the above,
> i.e. unplug the mouse, reconnect the mouse, restart gpm.  If they did, and
> the mouse still refused to work, please tell me and I admit you're right.
> 
> -- 
> groetjes, carel
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 

-- 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+   Fingerprint: 814E BD64 3288 40E7 E88E  3D92 C3F8 EA94 D5DE 453D   +
+   === http://www.aokiconsulting.com === Cupertino, CA USA ===   +



Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread Ethan Benson
On Fri, Feb 16, 2001 at 06:19:29PM -0700, John Galt wrote:
> >want it active. If you change the partitiontable it might be usefull.
> 
> Linux Fdisk resyncs the disks almost immediately.  DOS fdisk requires a
> reboot to do this.  Did you reboot after running fdisk when installing
> Debian?

fdisk can only tell the kernel to re-read the partition table when
there are NO mounted filesystems on that disk.  so if you repartition
your root disk when booted from it you will have to reboot for the
kernel to be aware of the changes.  (repartitioning your root disk
while running off it strikes me as a rather poor idea anyway) kernel
2.4 *might* be able to reread the partition table on busy disks, at
least under some circumstances.  im not sure about that.

also note that 2.0 kernels had some obscure problems with rereading
the partition table and it was considered good practice to reboot
after altering partitions, this went away in 2.2 (and maybe later 2.0)
kernels

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgptQnqtf93yI.pgp
Description: PGP signature


Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread Martin Albert
Hi, Martin!

On Friday 16 February 2001 15:54, "Martin_Tanzer"@dvs-berlin.de wrote:
> As far as I know you only might want to reboot if you change the
> hostname and want it active.
> The Linuxcommunity is proud of their uptimes, so we never reboot...
>
> martin

And not even that is necessary, /proc/hostname and /etc/init.d does it. 

Remains:
- kernel changes.
- Evil proprietary, undisclosed display driver modules.
- Having no UPS.

martin



Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread John Galt
On Fri, 16 Feb 2001 [EMAIL PROTECTED] wrote:

>
>
>
>As far as I know you only might want to reboot if you change the hostname and

/etc/init.d/networking restart

>want it active. If you change the partitiontable it might be usefull.

Linux Fdisk resyncs the disks almost immediately.  DOS fdisk requires a
reboot to do this.  Did you reboot after running fdisk when installing
Debian?



-- 
Television is now so desperately hungry for material that it is scraping
the top of the barrel.
-- Gore Vidal

John Galt ([EMAIL PROTECTED])



Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread Carel Fellinger
On Fri, Feb 16, 2001 at 05:30:11PM -0500, David B . Harris wrote:
> To quote Carel Fellinger <[EMAIL PROTECTED]>,
> # On Fri, Feb 16, 2001 at 04:06:03PM -0500, David B . Harris wrote:
> # ...
> # > You also need to re-boot for some hardware re-initialization. See
> the
> # > recent thread on XFree 4.0.2 and an IntelliMouse-compatible mouse.
> # 
> # I doubt it.  Any trouble I've had with PS2 mouses not being properly
> # initialized could be solved by "/etc/init.d.gpm restart" preceded by
> # the occasionally physical reconnecting of the mouse.  But YMMV:)
> 
> Don't doubt it. I didn't just make it up to prove that a reboot *could*
> be required to re-initialize hardware :)

But I *do* doubt it:)
You see, unplugging the mouse and then replugging it resets the mouse,
restarting gpm redoes the initialisation, so what else could be necessery?
Ofcourse I could be overlooking something.  I've read that thread you
refered to, but I don't remember having seen that the really did the above,
i.e. unplug the mouse, reconnect the mouse, restart gpm.  If they did, and
the mouse still refused to work, please tell me and I admit you're right.

-- 
groetjes, carel



Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread David B . Harris
To quote Carel Fellinger <[EMAIL PROTECTED]>,
# On Fri, Feb 16, 2001 at 04:06:03PM -0500, David B . Harris wrote:
# ...
# > You also need to re-boot for some hardware re-initialization. See
the
# > recent thread on XFree 4.0.2 and an IntelliMouse-compatible mouse.
# 
# I doubt it.  Any trouble I've had with PS2 mouses not being properly
# initialized could be solved by "/etc/init.d.gpm restart" preceded by
# the occasionally physical reconnecting of the mouse.  But YMMV:)

Don't doubt it. I didn't just make it up to prove that a reboot *could*
be required to re-initialize hardware :)

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread Carel Fellinger
On Fri, Feb 16, 2001 at 04:06:03PM -0500, David B . Harris wrote:
...
> You also need to re-boot for some hardware re-initialization. See the
> recent thread on XFree 4.0.2 and an IntelliMouse-compatible mouse.

I doubt it.  Any trouble I've had with PS2 mouses not being properly
initialized could be solved by "/etc/init.d.gpm restart" preceded by
the occasionally physical reconnecting of the mouse.  But YMMV:)

-- 
groetjes, carel



Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread David B . Harris
To quote William T Wilson <[EMAIL PROTECTED]>,
# On Fri, 16 Feb 2001 [EMAIL PROTECTED] wrote:
# You don't need to reboot to change the hostname, either.  The command
is
# 'hostname'.
# 
# You need to reboot to change the partition table of a disk with
mounted
# filesystems, and you need to reboot to recompile the kernel, and you
need
# to reboot for hardware upgrades.  That's about it, really...

You also need to re-boot for some hardware re-initialization. See the
recent thread on XFree 4.0.2 and an IntelliMouse-compatible mouse.

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: Antwort: Rebooting is foolish ....

2001-02-16 Thread William T Wilson
On Fri, 16 Feb 2001 [EMAIL PROTECTED] wrote:

> As far as I know you only might want to reboot if you change the
> hostname and want it active. If you change the partitiontable it might
> be usefull.

You don't need to reboot to change the hostname, either.  The command is
'hostname'.

You need to reboot to change the partition table of a disk with mounted
filesystems, and you need to reboot to recompile the kernel, and you need
to reboot for hardware upgrades.  That's about it, really...

> The Linuxcommunity is proud of their uptimes, so we never reboot...

That is the real reason :}