John P. Looney wrote:
> On Tue, Jul 12, 2005 at 12:37:53PM +0100, Conor Wynne mentioned:
>>>>Does anyone know how to force an fsck for only the next boot?
>>And only for one partition?
>>>>I can do it with tune2fs, but I only wish to have it set for a single boot.
>>> Can't you use -T "feckin' ages ago", to set the time it was last checked
> to be over 180 days ago ? That should get you a once-off check.
>As root "touch /forcefsck"
Next time you boot it'll force an fsck on all partitions.
Stephen Brooks <stephen at lincor.com> Digital Depot, Thomas Street
Senior Software Engineer Dublin 8, Ireland
Lincor Solutions Ltd. Ph: +353 (0) 1 4893683
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!