LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Make Me a Simlink (https://www.linuxquestions.org/questions/linux-newbie-8/make-me-a-simlink-124444/)

lectraplayer 12-09-2003 10:35 PM

Make Me a Simlink
 
How do I make a Simlink? One such Simlink I want is between devices. I installed Linux on another system and moved the hard disk (only way to do this with this hardware). Since the hard disks are in diferent places, it's expecting my CDROM to be on HDB when it's probably on HDC. How do I make it go to HDC when it looks at HDB? (I hear this is like telling it to look in the /home/web folder when you go /etc/weblocal)

Demonbane 12-09-2003 10:53 PM

You should, instead of making symlinks, update /etc/fstab to reflect the new disk configuration.

lectraplayer 12-10-2003 10:01 PM

...and then Mandrake Control Center wants me to put my disk in HDB... Hadn't worked yet.

win32sux 12-10-2003 10:23 PM

here's a few links that might help you better understand fstab configuration:

http://www.die.net/doc/linux/man/man5/fstab.5.html

http://www.linuxplanet.com/linuxplan...orials/4232/1/

http://www.debian.org/doc/manuals/de.../ch-disks.html

Demonbane 12-10-2003 10:25 PM

well not exactly sure what the mandrake control center is trying to put but if you're sure the entries in /etc/fstab are correctly then thats it.
Otherwise if you really want to play with symlinks you need to delete /dev/hdb and
for example ln -s /dev/hda /dev/hdb, of course this isn't recommended cus you've just deleted the device file for hdb.
type 'dmesg' and see if your CDROM is assigned to hdb or hdc

lectraplayer 12-11-2003 10:12 PM

/dev/hdb vanished when I changed configurations, and I changed the fstab to suit the new config. ...but when I use drakconf (Mandrake Control Center), it wants the CDROM to go in /dev/hdb (which don't exist anymore). Having the CDROM in the CD drive (/dev/hdc now) does nothing. I'm still working on the fstab to get it mountable. I've done some playing with my fstab on my "big machine" because I was trying to get to some old filesystems from my reloading process I just went through. Now I have them all in various points in /mnt on my big box, but that's a story for another time. :D


All times are GMT -5. The time now is 09:39 AM.