Enhancement: Prompt to check a busy file system on next reboot

Bug #761478 reported by Daniel Ellis
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GNOME Disks
Fix Released
High
Baltix
Confirmed
Low
Unassigned
gnome-disk-utility (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: gnome-disk-utility

When selecting "Check File System" on a file system which is is use, you currently get an error stating the device is busy.

If a disk was busy, Disk Utility could prompt the user and ask if the file system should be scheduled for a check on the next reboot.

I have just found out about the special file "/forcefsck" (http://www.cyberciti.biz/faq/linux-force-fsck-on-the-next-reboot-or-boot-sequence/) which forces the file system to be checked on the next reboot, and due to this I think this is a potentially simple implementation. Disk Utility would just have to prompt and create that file.

Robert Roth (evfool)
Changed in gnome-disk-utility (Ubuntu):
importance: Undecided → Wishlist
Robert Roth (evfool)
Changed in gnome-disk-utility (Ubuntu):
status: New → Confirmed
Revision history for this message
Tuomas Heino (iheino+ub) wrote :

Simply creating that file would not be entirely enough. As in while that seems to force the fsck, said file does not get removed automatically. And maybe even shouldn't be removed, unless it was created by gdu.

Revision history for this message
Daniel Ellis (danellisuk) wrote :

I have just tried this on Ubuntu 10.04 and 11.10 and both systems automatically remove the /forcefsck file after the reboot.

I haven't found any official documentation for this file yet, so my concern is whether the behavior of this file is distribution specific.

It would be great if this method is standard amongst distributions, then I think this would be a suitable solution.

Changed in baltix:
status: New → Confirmed
importance: Undecided → Low
Changed in gnome-disk-utility:
importance: Unknown → High
status: Unknown → New
Changed in gnome-disk-utility:
status: New → In Progress
Changed in gnome-disk-utility:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.