From owner-freebsd-questions@FreeBSD.ORG Mon May 15 16:39:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C165D16A659 for ; Mon, 15 May 2006 16:39:06 +0000 (UTC) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C6B343D68 for ; Mon, 15 May 2006 16:39:05 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.13.6+Sun/8.13.6) with ESMTP id k4FGd4oG008813; Mon, 15 May 2006 12:39:04 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.13.6+Sun/8.13.6/Submit) id k4FGd4XD008812; Mon, 15 May 2006 12:39:04 -0400 (EDT) From: Jerry McAllister Message-Id: <200605151639.k4FGd4XD008812@clunix.cl.msu.edu> To: freebsd-questions@freebsd.org Date: Mon, 15 May 2006 12:39:04 -0400 (EDT) In-Reply-To: <20060515115333.4E7F.GERARD@seibercom.net> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Jerry McAllister Subject: Re: Newbie File system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 16:39:06 -0000 > > Maan Jee wrote: > > > Hi > > > > Can someone explane that at which filesystem is my "/home" directory > > located? > > > > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a 507630 55002 412018 12% / > > devfs 1 1 0 100% /dev > > /dev/ad0s1e 507630 12 467008 0% /tmp > > /dev/ad0s1f 34336100 1564298 30024914 5% /usr > > /dev/ad0s1d 1506190 24892 1360804 2% /var > > > > thanks..../mj > > Your 'home' directory is usually located under '/usr'. Not necessarily, in fact, no, not at all. Your home directory is where-ever you put it. >From the 'df' information you show, it is impossible to tell where it's data actually resides. Technically "/home" is in root (eg '/') because that specifically is what you asked for. But, it is possible for you to have some data that looks like it is in /home, but have that living somewhere else and have a link in root that is named 'home' pointing to it. Now, if you mean your login home directory, that is where-ever your passwd file entry says it is. As the system administrator creating the account, you can specify that. Note: as far as namimg goes, that really depends on the mountpoint you create and use for the filesystem. On many of our systems I create a file system and mounted is as /home and use it to hold users' home directories. On my desktop running FreeBSD, I name the mountpoint for that filesystem '/hom' just to be lazy by one character. So, to answer your own question for yourself, do two things. First, do: ls -l / That will tell you if there is something named '/home' or not and if it is symlinked anythere. Then do: grep yourid /etc/passwd or finger yourid Of course, put your own login id in for 'yourid' In the first, the next to last field is your login home directory In the second it tells your home directory and just called it 'Directory:' ////jerry > > -- > Gerard Seibert > gerard@seibercom.net