[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?
> 

To remove a symbolic link you just rm it.

For example -
# rm hdc

That won't touch /dev/scd0 if that is what your worried about.
hth,
kent

-- 
>From seeing and seeing the seeing has become so exhausted
    First line of "The Panther" - R. M. Rilke




Reply to: