Re: ln -s in FreeBSD 6.1
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In FreeBSD 6.1 , there was created a directory named /var . > I created a subdirectory in it named homes , and in that more > subdirectories, one per user in /home . > As a plain user , I tried to create (while in my home directory) > a subdirectory named var by typing > ln -s /var/homes/me var > Then I checked it by typing 'ls -l var' and got > /compat/linux/var > as the destination of the link. What is happening? Is this a bug in > FreeBSD 6.1 ? It looks as if you've got something weird going on with the linuxulator. * Can you check "pkg_info | grep linux" and see what you've got? * What shell are you using? Is it compiled natively for FreeBSD or did you install a Linux shell from rpm or something? * Please check "file `which ln`" to ensure it's a FreeBSD binary and not a Linux one. -- Bill Moran ZOE: Preacher, don't the Bible have some pretty specific things to say about killing? BOOK: Quite specific. It is, however, somewhat fuzzier on the subject of kneecaps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ln -s in FreeBSD 6.1
[EMAIL PROTECTED] wrote: In FreeBSD 6.1 , there was created a directory named /var . I created a subdirectory in it named homes , and in that more subdirectories, one per user in /home . As a plain user , I tried to create (while in my home directory) a subdirectory named var by typing ln -s /var/homes/me var Then I checked it by typing 'ls -l var' and got /compat/linux/var as the destination of the link. What is happening? Is this a bug in FreeBSD 6.1 ? No: # uname -a FreeBSD archangel.daleco.biz 6.1-STABLE FreeBSD 6.1-STABLE #2: Sat May 27 07:15:18 CDT 2006 [EMAIL PROTECTED]:/usr/obj/backup/src/sys/GENERIC i386 # sudo mkdir -p /var/homes/me # pwd /usr/home/kadmin # ln -s /var/homes/me var # ls -l var lrwxr-xr-x 1 kadmin wheel 13 Jul 18 16:20 var@ -> /var/homes/me What shell are you using? Or, did you do this from some other program? Can you show the actual output? You've given a very descriptive message right up to "A subdirectory named var"; ln(1) does not create subdirectories. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ln -s in FreeBSD 6.1
If you typed ls -l var, that would display the contents of the var directory. I think what you want is (while in your home) ls -l | grep var On 7/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: In FreeBSD 6.1 , there was created a directory named /var . I created a subdirectory in it named homes , and in that more subdirectories, one per user in /home . As a plain user , I tried to create (while in my home directory) a subdirectory named var by typing ln -s /var/homes/me var Then I checked it by typing 'ls -l var' and got /compat/linux/var as the destination of the link. What is happening? Is this a bug in FreeBSD 6.1 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ln -s in FreeBSD 6.1
In FreeBSD 6.1 , there was created a directory named /var . I created a subdirectory in it named homes , and in that more subdirectories, one per user in /home . As a plain user , I tried to create (while in my home directory) a subdirectory named var by typing ln -s /var/homes/me var Then I checked it by typing 'ls -l var' and got /compat/linux/var as the destination of the link. What is happening? Is this a bug in FreeBSD 6.1 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"