Re: knoppix filesystem

Klaus Knopper <[email protected]> Sat, 5 Jun 2004 10:34:18 +0200
Newsgroups gmane.linux.debian.knoppix
Organization LinuxTag e.V.
Message-ID <[email protected]>
On Sat, Jun 05, 2004 at 10:29:21AM +1000, Rene Cunningham wrote:
> Gday,
> 
> Im stumped and cant figure out how knoppix allows you to write to a
> linked file then store that file on the ramdisk.
> 
> This is an example
> 
> [email protected][etc]# ls -la /etc/hosts
> lrwxrwxrwx    1 root     root           18 Jun  4 19:58 /etc/hosts ->
> /KNOPPIX/etc/hosts
> 
> # edit with vi. echo >>, doesnt work for some reason.
> [email protected][etc]# vi /etc/hosts
> 
> [email protected][etc]# ls -la /etc/hosts
> -rw-r--r--    1 root     root          278 Jun  5 04:26 /etc/hosts

Well, you are just replacing a symlink located on the ramdisk, by a real
file on the ramdisk. There is no special magic involved. ;-)

Regards
-Klaus Knopper