From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 22:37:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E80D916A417 for ; Tue, 11 Dec 2007 22:37:53 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id B8DB213C455 for ; Tue, 11 Dec 2007 22:37:53 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBBMbSAG007062; Tue, 11 Dec 2007 17:37:28 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lBBMbSi2007061; Tue, 11 Dec 2007 17:37:28 -0500 (EST) (envelope-from jerrymc) Date: Tue, 11 Dec 2007 17:37:28 -0500 From: Jerry McAllister To: Aryeh Friedman Message-ID: <20071211223728.GA6983@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: "freebsd-questions@freebsd.org" Subject: Re: looking for ideas: creating a data partition for a dual boot 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: Tue, 11 Dec 2007 22:37:54 -0000 On Tue, Dec 11, 2007 at 03:43:14PM -0500, Aryeh Friedman wrote: > I have both vista and freebsd 8-current installed on the same drive > and also have allocated the rest of the disk to be a fat32 partition. > I know I should put any data I want to be passed between the two on > the fat32 partition. Now the question is how to lay it out so that: > > 1. The home dir for my account of FreeBSD = Vista account's root dir > 2. Share the same Desktop folder (I think if #1 is solved this is automatic) In FreeBSD you can just change the login(home) directory field in the /etc/passwd file for the account. Use vipw(8) to do the editing. But, you may not want to do that because there are some differences in a MS fat32 filesystem and the UNIX type filesystem that FreeBSD uses. Some ownership and permission and link information will be lost. Instead, just mount that fat32 file system as 'msdosfs' type on to some nice mnemonic mount point and work on it there. I use "/mydos" for mounting my fat32 partition in FreeBSD. Then, you can address files in it as /mydos/somedir/somefile. If you have a group of files you want to address as if they are in your home dir, than make a symlink to their directory. cd ln -s /mydos/goodstuff goodstuff Then any time you cd to ~/goodstuff you will really get /mydos/goodstuff Pick your own names. As for how to deal with it in MS-Vista, it will show up as another drive, say e: or maybe f: It will not be root as far as I can tell. But it might be possible to make it your desktop. I avoid MS mostly. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"