Re: directory links - HOWTO

From: Robert Heezeman (heezeman@yahoo.com.au)
Date: Fri Apr 27 2001 - 08:57:24 CEST


I have a RAM disk that is assigned to directory /tmp
and I want to set directory links so that any
operations like reading and writing files to say
/home/ftp actually get written and read from the RAM
at say /tmp/home/ftp

Also how do identify directory links ??

What is the difference beteen hard and symbolic
directory links.

This is what I tried

      mknod -m 660 /dev/ram b 1 0
      mke2fs -m0 /dev/ram 2048
      mount -n -t ext2 /dev/ram /tmp

      chmod ugo+rwx /tmp

      mkdir /tmp/home
      mkdir /tmp/home/ftp

       ln -s /tmp/home/ftp /home/ftp

then ls -al

but when I looked in /tmp/home/ftp it did not contain
what was in /home/ftp ???

Is there an explination ? Did I do it right ??

New to mulinux/linux

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:18 CET