unlink a directory
m.seaman at infracaninophile.co.uk
Thu Nov 28 09:15:01 UTC 2013
On 11/28/13 09:04, Darrel wrote:
> I can not recall how to unlink a directory. Installed a FreeBSD10
> system from memory and when making the kernel link went to /root/kernels
> and linked rather than /usr/src/sys/amd64.
> Now I have this:
> (120) @ 4:01:40> ls -L conf
> (121) @ 4:01:43> ls -P conf
> (122) @ 4:01:56> ll conf
> lrwxr-xr-x 1 root wheel 24B Nov 24 22:57 conf@ ->
> (123) @ 4:02:09> pwd
> (124) @ 4:04:22> cd conf
> conf: Too many levels of symbolic links.
It's a symbolic link, not a directory.
# cd /usr/src/sys/amd64
# rm conf
... but /usr/src/sys/amd64/conf should be a real directory with useful
contents. I'd advise you to recover that part of the system sources by
use of svn or freebsd-update or whatever.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1029 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions