I wanted to know if there is any 'scandisk' sort of utility for Linux. I know about "fsck", but it warns me against running it on mounted filesystems. It doesn't run even in the single user mode.
Actually, after I went thru the startup scripts (Fedora Core 1), I saw that it checked for a command line argument ("forcefsck") and ran the checking utility. That worked. But is there a better solution than that? I mean, everytime I want to check the filesystem, I dont want to go thru grub.
-- [ Sandy ]
Windows [noun] A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
Visit me : http://sandesh247.blogspot.com/ Or : http://www.geocities.com/sandesh247/
On Thu, Nov 11, 2004 at 11:04:06AM -0700, Sandesh Singh wrote:
I wanted to know if there is any 'scandisk' sort of utility for Linux. I know about "fsck", but it warns me against running it on mounted filesystems. It doesn't run even in the single user mode.
Actually, after I went thru the startup scripts (Fedora Core 1), I saw that it checked for a command line argument ("forcefsck") and ran the checking utility. That worked. But is there a better solution than that? I mean, everytime I want to check the filesystem, I dont want to go thru grub.
You should unmount the filesystem. If you need to fsck the root fs, you'll pretty much have to reboot. I don't know any way to safely unmount / while the system is running.
On 11/11/04 11:04 -0700, Sandesh Singh wrote:
I wanted to know if there is any 'scandisk' sort of utility for Linux. I know about "fsck", but it warns me against running it on mounted filesystems. It doesn't run even in the single user mode.
Why do you need to run scandisk? There is fsck, and there is badblocks(8). You normally should not need to run fsck/badblocks at all.
Devdas Bhagat
On Thursday 11 November 2004 11:34 pm, you wrote:
I wanted to know if there is any 'scandisk' sort of utility for Linux. I know about "fsck", but it warns me against running it on mounted filesystems. It doesn't run even in the single user mode.
Actually, after I went thru the startup scripts (Fedora Core 1), I saw that it checked for a command line argument ("forcefsck") and ran the checking utility. That worked. But is there a better solution than that? I mean, everytime I want to check the filesystem, I dont want to go thru grub.
why would anyone want to check a linux filesystem?
----- Original Message ----- From: "Kenneth Gonsalves" lawgon@thenilgiris.com
why would anyone want to check a linux filesystem?
well we can not say that one should not check gnu/linux file system It's upto the users wish. If anybody wants to do it. He/she should have such tool along with.