Re: Fwd: reboot command behaves different on Linux

2013-03-25 Thread David T-G
Frank, et al -- ...and then Frank Fesevur said... % ... % And what does sleep mean, hibernate to disk or to RAM? There is a lot % of confusing about the terms hibernate. sleep, suspend and standy. If % I understand it correctly, hibernate is to disk and the others are to % RAM. But I can be wrong

Re: Fwd: reboot command behaves different on Linux

2013-03-25 Thread Frank Fesevur
2013/3/25 Earnie Boyd: >> I have given it a thought over the weekend and since the -H conflicts >> with -H of the Linux shutdown commands, I think I prefer the -b as >> short for hibernate. > > To me -b sounds like 'b;inary how about -s for 's'leep since sleep is > synonymous with hibernate. -s is

Re: Fwd: reboot command behaves different on Linux

2013-03-25 Thread Ryan Johnson
On 25/03/2013 9:40 AM, Earnie Boyd wrote: On Mon, Mar 25, 2013 at 5:53 AM, Frank Fesevur wrote: 2013/3/23 David T-G: % This would still conflict with the -H of the ones above, but I have no % problem with it. Anyone against changing hibernate to -H? What about 'b' for hi'b'ernate? That was my

RE: Fwd: reboot command behaves different on Linux

2013-03-25 Thread Adam Dinwoodie
Earnie Boyd wrote: > On Mon, Mar 25, 2013 at 5:53 AM, Frank Fesevur wrote: >> 2013/3/23 David T-G: >>> % This would still conflict with the -H of the ones above, but I have no >>> % problem with it. Anyone against changing hibernate to -H? >>> >>> What about 'b' for hi'b'ernate? >> >> That was my o

Re: Fwd: reboot command behaves different on Linux

2013-03-25 Thread Earnie Boyd
On Mon, Mar 25, 2013 at 5:53 AM, Frank Fesevur wrote: > 2013/3/23 David T-G: >> % This would still conflict with the -H of the ones above, but I have no >> % problem with it. Anyone against changing hibernate to -H? >> >> What about 'b' for hi'b'ernate? > > That was my original suggestion, but Anth

Re: Fwd: reboot command behaves different on Linux

2013-03-25 Thread Frank Fesevur
2013/3/23 David T-G: > % This would still conflict with the -H of the ones above, but I have no > % problem with it. Anyone against changing hibernate to -H? > > What about 'b' for hi'b'ernate? That was my original suggestion, but Anthony liked the -H better. I have given it a thought over the we

Re: : reboot command behaves different on Linux

2013-03-23 Thread David T-G
Andrey, et al -- ...and then Andrey Repin said... % ... % % If anyone can explain the difference between "halt" and "power off" in the % terms of Linux 'shutdown' man page, I would probably vote for one of the % choices. [snip] On some machines, halting can leave you at a BIOS/firmware prompt b

Re: : reboot command behaves different on Linux

2013-03-23 Thread Andrey Repin
Greetings, Frank Fesevur! >> I thought about it for a while myself before posting but I concluded your >> choice was a good one: the usefulness of -h for hibernate probably >> outweighed the benefits of retaining compatibility with a more traditional >> (BSD) Unix shutdown. I checked to see if POS

Re: : reboot command behaves different on Linux

2013-03-23 Thread Andrey Repin
Greetings, Frank Fesevur! > 2013/3/22 Thorsten Kampe: >>> > And does anybody ever use that reason thing on the windows shutdown? >>> I know it is used by server versions of Windows. When you request >>> shutdown/reboot you must enter a reason, and it is logged in system logs >>> (don't know exactl

Re: Fwd: reboot command behaves different on Linux

2013-03-23 Thread David T-G
Frank, et al -- ...and then Frank Fesevur said... % ... % It seems there is not such thing as a *general* shutdown command. % "Every" distribution has its own. Just picked three: ... % % This would still conflict with the -H of the ones above, but I have no % problem with it. Anyone against chan

Re: Fwd: reboot command behaves different on Linux

2013-03-23 Thread Frank Fesevur
2013/3/23 Anthony Geoghegan: > I thought about it for a while myself before posting but I concluded your > choice was a good one: the usefulness of -h for hibernate probably > outweighed the benefits of retaining compatibility with a more traditional > (BSD) Unix shutdown. I checked to see if POSIX

Re: Fwd: reboot command behaves different on Linux

2013-03-22 Thread Anthony Geoghegan
Yes, that bugs my for quite some time too, is -h for halt or hibernate? Now the -s is the same as the Windows shutdown.exe. The changes are really straight forward. -b could be the new short option for hibernate, doesn't interfere with the main linux shutdown options or the windows shutdown. Leavi

Re: Fwd: reboot command behaves different on Linux

2013-03-22 Thread Corinna Vinschen
On Mar 22 16:37, Frank Fesevur wrote: > 2013/3/22 Thorsten Kampe: > >> > And does anybody ever use that reason thing on the windows shutdown? > >> I know it is used by server versions of Windows. When you request > >> shutdown/reboot you must enter a reason, and it is logged in system logs > >> (do

Re: Fwd: reboot command behaves different on Linux

2013-03-22 Thread Frank Fesevur
2013/3/22 Thorsten Kampe: >> > And does anybody ever use that reason thing on the windows shutdown? >> I know it is used by server versions of Windows. When you request >> shutdown/reboot you must enter a reason, and it is logged in system logs >> (don't know exactly where, i guess you can find thi

Re: Fwd: reboot command behaves different on Linux

2013-03-22 Thread Thorsten Kampe
* Fedin Pavel (Fri, 22 Mar 2013 11:53:39 +0400) > On 22.03.2013 11:44, Frank Fesevur wrote: > > I'm also considering adding possibility to customize the shutdown > > message: shutdown -rf 22:00 "Rebooting because of Windows Updates". > > Who knows... > > > > And does anybody ever use that reason th

Re: Fwd: reboot command behaves different on Linux

2013-03-22 Thread Fedin Pavel
On 22.03.2013 11:44, Frank Fesevur wrote: I'm also considering adding possibility to customize the shutdown message: shutdown -rf 22:00 "Rebooting because of Windows Updates". Who knows... And does anybody ever use that reason thing on the windows shutdown? I know it is used by server versions o

Re: Fwd: reboot command behaves different on Linux

2013-03-22 Thread Frank Fesevur
2013/3/21 Anthony Geoghegan: > Nice work, Frank. I took a quick look at the man pages. The only improvement > I'd suggest is that the first sentence of the Description for reboot.8 would > read better by adding "the user" like so: > > Change > "These programs allow to reboot, halt, poweroff, hibern

Re: Fwd: reboot command behaves different on Linux

2013-03-21 Thread Anthony Geoghegan
They are in the tarball as well. As said, they are basic man pages, nothing fancy. Please know that English is not my native tongue. Nice work, Frank. I took a quick look at the man pages. The only improvement I'd suggest is that the first sentence of the Description for reboot.8 would read be

Re: Fwd: reboot command behaves different on Linux

2013-03-21 Thread Corinna Vinschen
On Mar 21 12:17, Frank Fesevur wrote: > 2013/3/20 Corinna Vinschen: > > After applying your changes you can then generate your patch via > > `cvs diff -up', ideally combined with a description of your changes. > > I have attached a tarball with the patch against the cvs. It also > includes a chang

Re: Fwd: reboot command behaves different on Linux

2013-03-21 Thread Frank Fesevur
2013/3/20 Corinna Vinschen: > After applying your changes you can then generate your patch via > `cvs diff -up', ideally combined with a description of your changes. I have attached a tarball with the patch against the cvs. It also includes a changelog. > I like the idea to get man pages, btw...

Re: Fwd: reboot command behaves different on Linux

2013-03-20 Thread Corinna Vinschen
On Mar 20 16:04, Frank Fesevur wrote: > 2013/3/20 Larry Hall (Cygwin): > > Did you get a bounce message? Did it describe the problem? > > Nope, never saw a bounce. > > > Assuming there was no bounce, I'd suggest trying again. The Cygwin site was > > getting an upgrade over the last few days and

Re: Fwd: reboot command behaves different on Linux

2013-03-20 Thread Frank Fesevur
2013/3/20 Larry Hall (Cygwin): > Did you get a bounce message? Did it describe the problem? Nope, never saw a bounce. > Assuming there was no bounce, I'd suggest trying again. The Cygwin site was > getting an upgrade over the last few days and was less "capable" than usual > as a result. Here

Re: Fwd: reboot command behaves different on Linux

2013-03-20 Thread Larry Hall (Cygwin)
On 3/20/2013 10:50 AM, Frank Fesevur wrote: The message below never made it through to the list, according to , probably because of the attached file. What is the best way to share the code I've written for the shutdown package??? Did you get a bounce mess

Fwd: reboot command behaves different on Linux

2013-03-20 Thread Frank Fesevur
From: Frank Fesevur Date: 2013/3/19 14:02 Subject: Re: reboot command behaves different on Linux To: "x...@.zzz" 2013/3/19 marco atzeri: > reboot on cygwin is just a link to shutdown I know. But the symlinks "reboot", "hibernate" and "suspend" do

Re: reboot command behaves different on Linux

2013-03-19 Thread Corinna Vinschen
On Mar 19 11:40, Frank Fesevur wrote: > Hi, > > I noticed that the cygwin reboot works different then the reboot > command on my (debian based) Linux machines. The cygwin reboot > requires a time on the command line while the reboot on Linux doesn't > accept a time and reboots immediately. > > Is

Re: reboot command behaves different on Linux

2013-03-19 Thread marco atzeri
On 3/19/2013 11:40 AM, Frank Fesevur wrote: Hi, I noticed that the cygwin reboot works different then the reboot command on my (debian based) Linux machines. The cygwin reboot requires a time on the command line while the reboot on Linux doesn't accept a time and reboots immediately. Is there a

reboot command behaves different on Linux

2013-03-19 Thread Frank Fesevur
Hi, I noticed that the cygwin reboot works different then the reboot command on my (debian based) Linux machines. The cygwin reboot requires a time on the command line while the reboot on Linux doesn't accept a time and reboots immediately. Is there a reason why this is? I can create a patch, if