View Single Post
Old Aug 15th, 2007, 5:05 PM   #3
Thaidog
Newbie
 
Join Date: Sep 2004
Posts: 8
Rep Power: 0 Thaidog is on a distinguished road
Exclamation

Quote:
Originally Posted by Infinite Recursion View Post
Is it a particular line you are interested in? Are there other commented mounts that you want to exclude? What does your fstab look like?

To remove all # in the file you could do this:

cat fileA | sed 's/#//g' > fileB; mv fileB fileA

If you want a more specific line uncommented, need more info.

There are two lines that need to be uncommented and a few others that need to stay commented.

The two that need uncommenting look like this:

#/dev/sde1 /vmware/tol ext3 nosuid 0 0
#/dev/sdf1 /vmware/sas ext3 nosuid 0 0
Thaidog is offline   Reply With Quote