From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 21:21:29 2004 Return-Path: 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 C98FD16A4CE for ; Thu, 8 Jul 2004 21:21:29 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63FB543D3F for ; Thu, 8 Jul 2004 21:21:29 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i68LLQL27728; Thu, 8 Jul 2004 17:21:26 -0400 (EDT) From: Jerry McAllister Message-Id: <200407082121.i68LLQL27728@clunix.cl.msu.edu> To: quapzx6@hotmail.com (Jake Zhen) Date: Thu, 8 Jul 2004 17:21:25 -0400 (EDT) In-Reply-To: from "Jake Zhen" at Jul 08, 2004 04:38:48 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: mounting disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 21:21:29 -0000 > > hi. > my computer has two disks with 1.5 GB each. during instillation, i created > four slices: ad0s1,ad0s2,ad1s1,and ad1s2. how do i mount all these slices > using Mount pt. in FreeBSD Disklabel Editor? what letter shoud i type when > it ask for mount pt.? If you are really using the regular disklabel editor you do not name mount points with it. You create partitions. Mount points are named in /etc/fstab. Mount points must be directory names and the directories must be created before attempting the mount. Anyway, you do not mount slices in FreeBSD. You mount partitions. At the very least, you must use disklabel to create at least one partition in each slice. Then you would mount ad0s1a, ad0s2a, ad1s1a, ad1s2a (presuming you use 'a' to name the partitions). But, probably you really don't want 4 slices. You might really want to create 1 slice in each disk that takes up all of the available disk and then use disklabel to create 2 partitions in each slice. Then you would have ad0s1a, ad0s1e, ad1s1a, ad1s1e You need to create directories on which to mount the partitions. They can be anywhere that is available when the mount is done. The final thing is that you need to create entries in /etc/fstab that tell it where to do the mounts. You can then mount the partitions You can also use /stand/sysinstall to do the work, but fdisk/disklabel aren't hard if you are just doing simple stuff. If you are already using /stand/sysinstall and don't know what it means when it asks for a mount point, then that means you give it the name of a directory on which you want it to mount the partitions. If the directory does not exist, /stand/sysinstall will create it. Also, /stand/sysinstall will write the entries in /etc/fstab for you. Once you have all this correct, the partitions will be mounted at boot, but you can use the mount(8) command to do it before a reboot. ////jerry > thank u > > jake > > _________________________________________________________________ > Check out the latest news, polls and tools in the MSN 2004 Election Guide! > http://special.msn.com/msn/election2004.armx > > _______________________________________________ > 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" >