Idea
#328: Check forced at shutdown, not startup
|
| |
573
|
|
|
Written by Matt Arnold the 29 Feb 08 at 00:39.
Category: System.
Related to:
Nothing/Others.
Status: New
|
|
|
Description
On startup Ubuntu will sometimes say the disk "has been mounted x times without being checked, check forced". Then it will make me wait to use the computer. Why not do this at shutdown instead of startup? When the user starts up the computer, they're sending a message to Ubuntu saying "I want to use my computer now." Not later. When they shut down, they're telling Ubuntu "I don't want to use my computer now." Do it then.
Tags:
(none)
Attachments
No attachments.
Duplicates
Comments
|
dark wrote on the 29 Feb 08 at 00:44
| |
Even though I think that the boot check isn't a very good idea how it is implemented in Gusty, Hardy fixes this a bit. But no, on shutdown many people have laptops and when you want your computer off you really want it off to conserve battery life and slow shutdown times have been a common criticism of Vista and it would make it look like Ubuntu was heading in the Vista route with slower shutdown times by changing it to the shutdown.
|
|
rouge568 wrote on the 29 Feb 08 at 01:35
| |
There is a package that does this already called autofsck, and it's in the repositories. It works brilliantly, prompting you at shutdown that you can either do a check now or when you boot. My only gripes are that it plays an obnoxious (more than usual) system beep when it tells you, and you can't see the progress of the check while it is running. Of course, it is much nicer than doing it at startup.
|
|
kasimir wrote on the 29 Feb 08 at 02:45
| |
I feel that it should be an option to make it so that it run fsck on a schedule, both boot and shutdown times have their respective issues. It would be possible to ask for either, but then have an icon in Gnome which would allow the user to click it so the computer goes into runlevel 1 and runs fsck (and constantly reminds the user).
|
|
Matt Arnold wrote on the 29 Feb 08 at 02:47
| |
That sounds like it would be great, but Synaptic Package Manager doesn't return any search results for autofsck. By default, there should at least be an optional choice of whether to have fsck at shutdown if you're a desktop user, or startup if you're a power-conserving laptop user.
|
|
exactopposite wrote on the 29 Feb 08 at 05:52
| |
I use autofsck for this but i would much prefer if it was a built in funtion of ubuntu, or at least of autofsck was in the repositories.
|
|
tyler.szabo wrote on the 29 Feb 08 at 06:30
| |
I'd rather a simple option of allowing me to select when I do it: before (classic), after (when I'm not leaving in a hurry), and during (like FreeBSD :) ).
|
|
endim wrote on the 29 Feb 08 at 08:07
| |
It seems that if you could press a key that says "stop immediately and try again sometime later", that it would make this less of a problem.
|
|
ubergeeknz wrote on the 29 Feb 08 at 08:29
|
What about notebook users? This doing things before shutdown is inevitably a pain in the arse if it is default of easy to select by accident: I want to pack up and go home! I don't want to install updates (windows) or run a fsck for 15 minutes (ubuntu) thank you very much!
Choices!
How about prompting once booted to do a passive fsck? If all is well, great. If something is broken, then let the user know and do it on a reboot.
|
|
houstonbofh wrote on the 29 Feb 08 at 17:06
| |
This is a feature request thread. The other is a package promotion thread. While /idea/1031 will solve /idea/328, /idea/328 will not solve /idea/1031.
|
|
guepe wrote on the 29 Feb 08 at 19:10
| |
I think this is a dangerous thing : what about laptops and batteries problems when shutting down with very low battery, which is much more probable than starting up with low batteries. I voted down.
|
|
DannyB2 wrote on the 29 Feb 08 at 22:05
|
What about a server that is shutting down because the UPS signaled that you're now running on battery power and you need to shut down soon.
Not a good time to fsck.
|
|
stix213 wrote on the 29 Feb 08 at 22:53
| |
I'd rather change it so that fsck stays during startup, but gives you a 5 second count down to press any key to skip (like if you really need the machine to boot now) and then on next boot do the same thing until the disk check is done.
|
|
rawsausage wrote on the 29 Feb 08 at 23:01
| |
Change to saner FS where the process of fsck takes only couple seconds. Or that has online fsck. It actually solves the reason and not the symptoms.
|
|
Baggers wrote on the 29 Feb 08 at 23:34
|
I prefer it at the beginning.
My computer goes off when I'm tired and NEED to crawl into bed. I'd rather have it just turn off than sit humming for another few minutes.
|
|
williumbillium wrote on the 1 Mar 08 at 19:39
| |
While I agree that the implementation of the disk check needs to be looked into, as other posters have stated, this solution would be terrible for laptop users.
|
|
ethana2 wrote on the 2 Mar 08 at 07:05
| |
Brilliant as described by poster. Voted up.
|
|
zarg wrote on the 15 Jul 08 at 18:45
|
Sorry, but I really don't like this idea. One of the things I always hated about Windows was that it sometimes took several minutes to shut down and when working with the laptop on a train this is REALLY bad!
I think there are better solutions ... if you really want to check on shutdown then let Ubuntu add information to the tray with the option to "check FS and shutdown"
|
|
cousteau wrote on the 31 Aug 08 at 10:51
|
I think it's a good idea, as once I tell my computer to shut down I don't need to do anything more until it shuts down.
It should be something like this:
* Booting: increase mount counter and check if >= 40
* Shut down: check if mount counter >= 30
So if I have to manually restart the computer several times, preventing fsck to run at shutdown, it would run at booting.
(This behaviour could be changed by editing a "/etc/fsck" file)
|
Post your comment
|
|
|