#2705 closed bug (invalid)
safemode unable to delete files
Reported by: | Adek336 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
There is no apparent way to shutdown the computer from the safemode (typing exit just disables the console). So the file is deleted in system buffers but those are never written back to the disk. Expected behaviour: typing "exit" in the console does a proper shutdown.
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
This bug description is inaccurate anyways, since the files will get deleted once the page writer gets to them, which most likely will be a few seconds. Otherwise it can be forced immediately via the 'sync' command.
comment:3 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 by , 16 years ago
I'm still in favor of having the "exit" command flush the buffers; it is so intuitive to end the session with an "exit" and many users will not think about waiting a few seconds before rebooting or issueing a "sync" and will be surprised that the changes they made to the disk aren't there.
follow-up: 6 comment:5 by , 16 years ago
No, you misunderstood what was said. There is the normal "shutdown" command that functions the same as under a normally loaded Haiku and should be used to shut down Haiku in safemode. The exit command is a shell built-in to close the shell process, it's not a system tool. The shell that you see there is a normal bash, not a Haiku specific shell, so the built-ins work as they usually do in bash.
What seems to be a bug though is that the shell is not actually restarted when the shell exits. It states that the shell is restarted but doesn't. Please open a new ticket for that.
comment:6 by , 16 years ago
Replying to mmlr:
What seems to be a bug though is that the shell is not actually restarted when the shell exits. It states that the shell is restarted but doesn't. Please open a new ticket for that.
No, please don't. The "safe mode" is going to go away anyway.
The shutdown command is also available from the console last I checked.