[97600] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: CDROM to hdd

daemon@ATHENA.MIT.EDU (William Stearns)
Tue Nov 3 23:55:34 1998

Date: Tue, 3 Nov 1998 23:58:19 -0500 (EST)
From: William Stearns <wstearns@pobox.com>
To: Red Hat Linux Mailing List <redhat-list@redhat.com>
cc: John Mayson <jmayson@mindspring.com>
In-Reply-To: <Pine.LNX.3.96.981103224054.493A-100000@ms403941>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Tue, 3 Nov 1998, John Mayson wrote:

> Just shoot me if you're sick of my questions.  ;-)

	Not at all...keep 'em coming!

> During my musical drive swapping, my CD-ROM moved from hdb to hdd.  I'm
> assuming I can go to the /etc directory, delete the file /etc/cdrom, then
> relink that to /etc/hdd?  Is that right?

	I suspect you meant to ask, Can I relink /dev/hdd to /dev/cdrom?
The answer to that is yes, no problem.
	For those that might be new to how this might be done:

Login as root
cd /dev
ls -al cdrom
	If it's a symbolic link pointing to the wrong device, ala:
lrwxrwxrwx  1 root     root           8  Date time  /dev/cdrom -> /dev/hdb
	do:
rm -f /dev/cdrom
ln -sf /dev/hdd /dev/cdrom

	Cheers,
	- Bill

---------------------------------------------------------------------------
Unix _is_ user friendly.  It's just very selective about who its friends 
are.  And sometimes even best friends have fights.
William Stearns (wstearns@pobox.com)
Mason, buildkernel, and named2hosts are at: http://www.pobox.com/~wstearns
---------------------------------------------------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post