Date: Thu, 30 Oct 2014 08:15:03 +0100 From: Polytropon <freebsd@edvax.de> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-questions@freebsd.org Subject: Re: /usr/X11R6 sym link Message-ID: <20141030081503.5985afdb.freebsd@edvax.de> In-Reply-To: <20141030065945.GA1778@unixarea.DDR.dd> References: <20141030065945.GA1778@unixarea.DDR.dd>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 Oct 2014 07:59:46 +0100, Matthias Apitz wrote: > A pity that I overlooked that the old /usr/X11R6 was a sym link to > (fully qualified) /usr/local: > > $ ls -l /mnt/usr > total 58 > lrwxr-xr-x 1 root wheel 10 7 abr 2011 X11R6 -> /usr/local > drwxr-xr-x 2 root wheel 7680 1 ago 2012 bin > drwxr-xr-x 2 root wheel 512 12 abr 2011 compat > drwxr-xr-x 2 root wheel 512 18 abr 2011 games > ... > > This (rm -rf /mnt/usr/X11R6) damaged the system I was sitting on, i.e. > the USB key :-( > > Ofc, I have had an image of the key and could recreate the key in a few > minutes. And of course, I could have seen this and ofc I will keep my > eyes wider open next time, but I'm curious: what piece of old package > could have created such a symlink in this older (9-CURRENT) > system? I think this symlink is being created already by the OS installation. You can add any missing directories using mtree and the .dist files in /etc/mtree... lrwxr-xr-x 1 root wheel 10 2011-08-21 22:32:05 X11R6@ -> /usr/local On the other hand, I assume any port that still requires /usr/X11R6 will take care to create it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141030081503.5985afdb.freebsd>