[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tune2fs question (increase max_mount_count)



Abdul Latip said:
> Hi:
>
> Since I often turn on and off my PC, I would like to
> increase the MAX_MOUNT_COUNTS of the file system.
> AFAIK, "tune2fs" works for ext2 and ext3.
>
> Questions:
> - Is there anything similar for reiserfs?
> - Is it save to tune2fs on a mounted filesystem?

as far as I know, there is no need to do such a thing to reiserfs.
I bet that JFS, XFS and perhaps others are the same.

tune2fs is safe to use on a mounted filesystem, though I think the
change will not take effect until the filesystem is remounted(perhaps
just a mount <filesystem> -o remount,rw is enough..?). I have had some
systems force a check after doing a tune2fs -c 0 -i 0 upon next boot,
but then it wouldn't do checks again after that. But more recently I
haven't had a system force a check after doing a tune2fs -c 0 -i 0

nate





Reply to: