[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing symbolic links...



On Wed, Feb 07, 2001 at 01:08:07PM -0700, Stefan Srdic wrote:
> While attempting to get my CD-Burner up and operational under Debian, I
> managed to muck up a few things under the /dev directory.
> 
> ls -l cdrom hdc scd0
> lrwxrwxrwx    1 root     root            4 Jan 24 15:08 cdrom -> scd0
> lrwxrwxrwx    1 root     root            9 Jan 27 08:50 hdc -> /dev/scd0
> 
> brw-rw----    1 root     cdrom     11,   0 Jan 24 13:35 scd0
> 
> 
> As you can see, I need to delete the symbolic that leads hdc to
> /dev/scd0. How can I do this without further damaging my filesystem?

looks like you replaced the /dev/hdc device node with a symlink, so
just do the following to fix that:

cd /dev
rm -f hdc
./MAKEDEV hdc

that should take care of it.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp1JHqcRMQa9.pgp
Description: PGP signature


Reply to: