Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 03:13:28 -0600
From:      Nick Lozinsky <nl3481@wi.rr.com>
To:        "P.B. Ruiter" <pruiter@indigored.com>
Cc:        Peter Leftwich <Hostmaster@Video2Video.Com>, FreeBSD Questions <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: /usr/home on separate disk?
Message-ID:  <3CA03BB8.6E181D71@wi.rr.com>
References:  <20020326012855.O8113-100000@earl-grey.cloud9.net> <000a01c1d49f$38e33ef0$6e01a8c0@home.net>

next in thread | previous in thread | raw e-mail | index | archive | help
No, no, no...when you are trying to link a device from /dev, you just specify
the device, so do this:

ln -sf /dev/ad1s1e /usr/home

"P.B. Ruiter" wrote:

> I tried
>
> ln -sf /dev/ad1s1e/usr/home /dev/ad0s1g/usr/home
>
> which is an Operation Not Supported. How can I distinguish /usr/home on ad1
> from /usr/home on ad0?
>
> ----- Original Message -----
> From: "Peter Leftwich" <Hostmaster@Video2Video.Com>
> To: "P.B. Ruiter" <pruiter@indigored.com>
> Cc: "FreeBSD Questions" <FreeBSD-Questions@FreeBSD.Org>
> Sent: Tuesday, March 26, 2002 1:30 AM
> Subject: Re: /usr/home on separate disk?
>
> | On Tue, 26 Mar 2002, P.B. Ruiter wrote:
> | > Hi, I just installed a new freebsd box with two ide drives. As I intend
> to use this as dedicated file/print/samba server on a mixed small office
> network, I thought it a good idea to dedicate one drive to /usr/home. I
> installed 4.5-Release as such with default settings for drive 0 and a single
> slice /usr/home on drive 1 (and swap on both).
> | > Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> | > /dev/ad0s1a    128990    31748    86924    27%    /
> | > /dev/ad0s1f    257998        4   237356     0%    /tmp
> | > /dev/ad0s1g   9044900   786382  7534926     9%    /usr
> | > /dev/ad1s1e  19099614       20 17571626     0%    /usr/home
> | > /dev/ad0s1e    257998      738   236622     0%    /var
> | > I realize there is already a /usr/home under /usr. How do I get rid of
> this and point it to my /usr/home on ad1s1e? I tried rmdir /home within
> /usr - this only gave me a busy reply. Please help...
> | > Pieter
> |
> | Assuming both drives are mounted okay, and I don't know much about Samba -
> | especially if it "honors" or "comprehends" symbolic links, but you could
> | always do something like `ln -sf /dev/ad1s1e /dev/....` etc.
> |
> | man ln
> |
> | Hope this helps in no small way ;-)
> |
> | --
> | Peter Leftwich
> | President & Founder
> | Video2Video Services
> | Box 13692, La Jolla, CA, 92039 USA
> | +1-413-403-9555
> |
> |
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CA03BB8.6E181D71>