lkml.org 
[lkml]   [1998]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: e2fsck...
Hi Mo.

>> if i wanna repair a partition an old slackware boot disk comes in
>> handy :)

> So let me get this straight, If I want to check my file system for
> errors there is no problems, but if I want to fix any errors found
> I have to reboot via a boot disk, and then e2fsck the now unmounted
> drive ?

> If true (makes sense since it is a multitasking environment), then
> this is not so good for my internet gateway, which may have some
> corruption. But hey no use winging about it.

The other alternative is to remount the partition in question as
read-only using the following command...

mount -o remount,ro PART

...where PART is the partition in question. The partition can then be
safely e2fsck'd and then re-remounted as rw by omitting the ",ro" in
the above...

Best wishes from Riley.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.908 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site