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

Re: symbolic links etc



> How does one remove a symbolic link to say /dev/ttyS0 or /dev/hdc.
> This is not clear in any literature I have seen, although under 'rm'
> and its '--directory' option there is mention of 'unlink' but no
> further reference is made to this anywhere and I doubt it's relevant.

You do use "rm". Doing so will *not* touch the "real" file that it's
pointing to. Don't worry ;-)

> If I need to recreate /dev/ttySx or /dev/hdx which 'ls -l' show as
> crw-rw---- and brw-rw---- respectively, how would I go about
> doing so?

You can't control nor change the permissions on symbolic links.

Regards
Hall



Reply to: