Date: Sun, 3 Aug 2003 20:55:20 +0200 (CEST) From: Alexander Pohoyda <alexander.pohoyda@gmx.net> To: freebsd-questions@freebsd.org Subject: mounting symlinked directory Message-ID: <200308031855.h73ItKhw008183@oak.pohoyda.family>
next in thread | raw e-mail | index | archive | help
Hi all, Running on the FreeBSD 4.8-STABLE i386 with a following setup: apog@oak:~$ ls -la /workspace/mus/ | grep big drwxr-xr-x 2 apog wheel 512 Jun 6 15:00 big apog@oak:~$ grep big /etc/fstab ls3610:/home/d038533/mus /workspace/mus/big nfs ro,noauto 0 0 apog@oak:~$ mount /workspace/mus/big apog@oak:~$ works as expected. Now, ~/mus is symlinked to /workspace/mus/ : apog@oak:~$ ls -la | grep mus lrwxr-xr-x 1 apog users 15 Mar 1 21:37 mus -> /workspace/mus/ apog@oak:~$ mount mus/big mount: mus/big: unknown special file or file system apog@oak:~$ I patched the mount utility, and it works for me. Patch is here: http://www.alexander-pohoyda.privat.t-online.de/patches/usr.src.sbin.mount.c.diff Why isn't it done this way by default? Am I doing it wrong? Thanks for any advice! -- Alexander Pohoyda <alexander.pohoyda@gmx.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308031855.h73ItKhw008183>