----- Start Original Message -----
From: Richard Fish <[EMAIL PROTECTED]>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Probably lost all conf files...
Seems like a good idea, I'll try this one. Will it work if I rm /etc/fstab 
first?
> If not... how do I remove useless lines before I echo?
> Thanks a lot.
> [EMAIL PROTECTED] wrote:
> 
> >----- Start Original Message -----
> >From: <[EMAIL PROTECTED]>
> >To: gentoo-user@lists.gentoo.org
> >Subject: [gentoo-user] Probably lost all conf files...
> >Something more specific -- I have managed to view my /etc/fstab with 
> >built-in shell (ash). As expected I have no valid settings in /etc/fstab. 
> >All I have is code:" more /etc/fstab /dev/ram0 ext2 defaults proc /proc 
> >defaults 0 0". Is there any way to edit files from within ash?
> >  
> >
> 
> Well, if you are very careful in typing, you can do something like:
> 
> # echo "/dev/hda1 /boot ext2 defaults,noatime 0 0" >fstab
> # echo "/dev/hda2 / ext3 defaults,noatime 0 0" >>fstab
> ...
> 
> -Richard
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

----- End Original Message -----

-- 
gentoo-user@gentoo.org mailing list

Reply via email to