[Samba] Re: Samba public directory on FreeBSD
Gary Dunn
knowtree at aloha.com
Fri Sep 24 16:16:51 GMT 2004
On Thu, 2004-09-23 at 13:41, W. D. wrote:
>
> Thanks for the info.
>
> I looked into this a little closer. In 'FreeBSD Unleashed', on page
> 38 it says: "/home This is where the users' home directories are
> located. It is often located under the /usr partition. If you are
> going to have a lot of users, and you expect them to have a lot of
> files, you might want to put /home on its own partition, or possibly
> even give /home an entire disk."
>
> In 'The Complete FreeBSD' (4th edition), on page 70: "Use the rest
> of the space on disk for a /home file system, as long as it's
> possible to back it up on a single tape. Otherwise, make multiple file
> systems. /home is the normal directory for user files."
>
> In the online handbook,
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html,
> Table 2-2: "/usr Rest of disk All your other files will typically be stored in /usr and its subdirectories."
>
> Alrighty, then. I am confused. On the 3 boxes that I just installed
> FreeBSD 4.9 on, none of them even have a /home or a /usr/home directory.
> So, there certainly isn't a /home partition. Is /home created as its
> own slice in 5.x?
FreeBSD allows you a lot of flexibility, including how you lay out your
disks. The lack of agreement is good.
> These boxes have 80 GB hard drives and have the majority of that
> capacity contained in /usr.
The way I set up a system, / and /usr do not change much. /var and /home
are where the action is. And I link /home to /usr/home, so that
/home/aUserName is the same as /usr/home/aUserName.
>
> Based on all this advice and research, I think I will create a new
> directory under /usr called /home. Under this, I'll create
> /samba/public (full path: /usr/home/samba/public).
>
> Any objections, or comments?
Yes, go ahead and set this up. Just keep in mind that at some point in
the future you might want to redesign you layout -- when you set up your
next server :-)
Gary Dunn
Honolulu
More information about the samba
mailing list