From: Jolly Roger on
In article <dog_cow-1278607231(a)macgui.com>,
dog_cow(a)macgui.com (D Finnigan) wrote:

> John McWilliams wrote:
> > dorayme wrote:
> >
> > Could you please elaborate?
> >
> > Holding down said key after initiating a restart allows one to choose
> > drives. What does it do selecting it before restart? What are the dangers?
> >
>
> The "Are you sure you want to restart your computer now?" dialog will not
> appear.

It's similar to a forced reboot. All running applications are forcefully
terminated, any unsaved changes are lost, any open files are forcefully
closed. There is potential for data loss and file corruption as a
result.

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR
From: D Finnigan on
Jolly Roger wrote:
> There is potential for data loss and file corruption as a
> result.
>

That's doubtful, since any outstanding I/O in the system memory buffers is
automatically flushed to disk.

--
Mac GUI Vault - A source for retro Apple II and Macintosh
computing.
http://macgui.com/vault/
From: Jolly Roger on
In article <dog_cow-1278794611(a)macgui.com>,
dog_cow(a)macgui.com (D Finnigan) wrote:

> Jolly Roger wrote:
> > There is potential for data loss and file corruption as a
> > result.
>
> That's doubtful, since any outstanding I/O in the system memory buffers is
> automatically flushed to disk.

Certainly not in all circumstances. If an application keeps a file open
while the application is running, and doesn't update and close the file
until you quit the application normally, then if you forcefully quit it,
whatever data might have been written to the file will obviously not be
written.

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR
From: D Finnigan on
Jolly Roger wrote:
> In article <dog_cow-1278794611(a)macgui.com>,
> dog_cow(a)macgui.com (D Finnigan) wrote:
>
>> Jolly Roger wrote:
>> > There is potential for data loss and file corruption as a
>> > result.
>>
>> That's doubtful, since any outstanding I/O in the system memory buffers
>> is
>> automatically flushed to disk.
>
> Certainly not in all circumstances. If an application keeps a file open
> while the application is running, and doesn't update and close the file
> until you quit the application normally, then if you forcefully quit it,
> whatever data might have been written to the file will obviously not be
> written.
>

The problem with that explanation is that this statement is untrue:

> It's similar to a forced reboot. All running applications are forcefully
> terminated, any unsaved changes are lost, any open files are forcefully
> closed. There is potential for data loss and file corruption as a
> result.
>

Holding down the Option key and selecting Restart from the Apple menu sends
the kAERestart event to loginwindow, which then passes the quit message on
to all the user processes. Processes which are not waiting on the user will
tidy up as needed and terminate. Processes in which the user has outstanding
unsaved work, such as a TextEdit document, will present a Save dialog to the
user. In the TextEdit scenario, if the user were to click Cancel, then a
further dialog would appear stating that TextEdit canceled the Restart
operation. If the user instead accepted or declined to save changes, then
TextEdit would also terminate, the user account would be logged out, various
other tasks such as the volume sync would be completed, and the system would
restart.

--
Mac GUI Vault - A source for retro Apple II and Macintosh
computing.
http://macgui.com/vault/
From: Jolly Roger on
In article <dog_cow-1278797914(a)macgui.com>,
dog_cow(a)macgui.com (D Finnigan) wrote:

> Jolly Roger wrote:
> > In article <dog_cow-1278794611(a)macgui.com>,
> > dog_cow(a)macgui.com (D Finnigan) wrote:
> >
> >> Jolly Roger wrote:
> >> > There is potential for data loss and file corruption as a
> >> > result.
> >>
> >> That's doubtful, since any outstanding I/O in the system memory buffers
> >> is
> >> automatically flushed to disk.
> >
> > Certainly not in all circumstances. If an application keeps a file open
> > while the application is running, and doesn't update and close the file
> > until you quit the application normally, then if you forcefully quit it,
> > whatever data might have been written to the file will obviously not be
> > written.
>
> The problem with that explanation is that this statement is untrue:
>
> > It's similar to a forced reboot. All running applications are forcefully
> > terminated, any unsaved changes are lost, any open files are forcefully
> > closed. There is potential for data loss and file corruption as a
> > result.
>
> Holding down the Option key and selecting Restart from the Apple menu sends
> the kAERestart event to loginwindow, which then passes the quit message on
> to all the user processes. Processes which are not waiting on the user will
> tidy up as needed and terminate. Processes in which the user has outstanding
> unsaved work, such as a TextEdit document, will present a Save dialog to the
> user. In the TextEdit scenario, if the user were to click Cancel, then a
> further dialog would appear stating that TextEdit canceled the Restart
> operation. If the user instead accepted or declined to save changes, then
> TextEdit would also terminate, the user account would be logged out, various
> other tasks such as the volume sync would be completed, and the system would
> restart.

My bad. I've never used Option-Restart, and assumed it was doing a
forced reboot.

Anyway, if this is the case, Option-Restart is not a solution for the
OP, since the OP specifically mentioned wanting to avoid the "save
before closing" dialog boxes!

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR