Date: Thu, 28 Nov 2013 09:14:42 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: unlink a directory Message-ID: <52970982.6020000@infracaninophile.co.uk> In-Reply-To: <alpine.GSO.2.00.1311280402310.2785@shell1> References: <alpine.GSO.2.00.1311280402310.2785@shell1>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5RiaXrHWORjt2lUl9qeSnLRr3ETFiTfFb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/kernel= s > and linked rather than /usr/src/sys/amd64. >=20 > Now I have this: >=20 > (120) @ 4:01:40> ls -L conf > conf > (121) @ 4:01:43> ls -P conf > conf > (122) @ 4:01:56> ll conf > lrwxr-xr-x 1 root wheel 24B Nov 24 22:57 conf@ -> > /usr/src/sys/amd64/conf/ > (123) @ 4:02:09> pwd > /usr/src/sys/amd64 > (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 =2E.. 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. Cheers, Matthew --5RiaXrHWORjt2lUl9qeSnLRr3ETFiTfFb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSlwmKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnlQsP+wcwPof324Bv0tKCtyJm8ct5 KeGUfDAZOvc1K3OIJCa9PQfNj8M979wT/ctQXH/lGlgsIXwBbq+9FRT7CHjgGIUC Mw1RWUJGmgi6RjIih9rbEnOylgU+RAOtZoLlI6o/9zPp56Xly+HB2GF62pGYA/8C aKW3EVTXR2cZ1vtbIIg2WcuqsMw1qWIdnDDbRWagATW+wy8kkOGFOh9JltUQPu+K PD0aDBzFqciDFkryv5sznoLUSiIvAaNMksIwSgQGSZDdW+4Bv+HT7J4BZbmoF+co mK3oqdqvvUDsJp+Kt4irpLZcFBUWnKlaeSCtj88fUEeqmniVxjZruRIm8mcYsshO GJxxM4RqOqFKrv7NIl4AQxG4iMAL8WELAbiZvELFtPTH0js8EjPjaymc59QxPDFB PmiFU5Bv3/x9Of4X+BmCk8ku3qQr2v1r1jwO2a0v/rY15gPYtja56sFgY22+pCiF l3UKmVkLAAjEfXFJ56SHUT9hCFOBstE3MMljLQuKDbn17RkyspV1d6/bOZhDCZKZ pVQlPj85EW11+923DVbNW3U8QnBBtsCojTpRUGG66kdFHqXA7pVQb66er8hNAAGg Qv8Ag4dQSGkzt7loZZ8gK+jz2g10SgsCso3xguHuwgGnGXL1yt8XC5GjkHmQm/YG olef+sS9rBmQ1WET/b6V =zVRy -----END PGP SIGNATURE----- --5RiaXrHWORjt2lUl9qeSnLRr3ETFiTfFb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52970982.6020000>