On Tue, Jul 30, 2002 at 03:26:10AM -0000, Vikrama  Dhiman wrote:
> 
> well actually a little typo. the file it says corrupt is /etc/fstab
> and it just wont correct it with all the options in the world and u 
> cant correct the file since the file is opened only read only.
> 

The file ownership and permissions of /etc/fstab is root.root 644. It
can be edited as root only. In case of physical damage to file delete
it with root privileges. Run a "fsck -c" on  that  partition  to have
all bad blocks marked and re-create the same.

> iam thinking fo going for an ugrade of Linux from 7.1.  to 7.3  and 
> preserve the data on var and usr directories.

I am not on RH, but AFAIK, RH is an upgradable system, and  an update
will upgrade all existing  binaries which can be upgraded leaving the 
rest. If you don't format, none of your data will be lost.

Some RH folk, pl correct me if I am wrong.

Bish

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Finding out files larger than given size       LOST #324

To find out all files in a dir over a given size, try:
find /path/to/dir_of_file -type f -size +Nk
[Where N is a number like 1024 for 1mb, and multiples thereof] 

####[Discussions on LIH : 04 Jul 2002]########################
:


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to