From owner-freebsd-questions@FreeBSD.ORG Sun Apr 2 17:05:49 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 3C90016A41F for ; Sun, 2 Apr 2006 17:05:49 +0000 (UTC) (envelope-from erikt@owl.midgard.homeip.net) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE7D43D48 for ; Sun, 2 Apr 2006 17:05:48 +0000 (GMT) (envelope-from erikt@owl.midgard.homeip.net) Received: from falcon.midgard.homeip.net (83.253.29.241) by pne-smtpout1-sn2.hy.skanova.net (7.2.070) id 442A9994000E5B36 for freebsd-questions@freebsd.org; Sun, 2 Apr 2006 19:05:47 +0200 Received: (qmail 90843 invoked from network); 2 Apr 2006 19:05:47 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 2 Apr 2006 19:05:47 +0200 Received: (qmail 70691 invoked by uid 1001); 2 Apr 2006 19:05:47 +0200 Date: Sun, 2 Apr 2006 19:05:47 +0200 From: Erik Trulsson To: valentin_nils@be-known-online.com Message-ID: <20060402170546.GA70608@owl.midgard.homeip.net> Mail-Followup-To: valentin_nils@be-known-online.com, freebsd-questions@freebsd.org References: <20060402162448.bgqmuf5k3t7osgsg@www.be-known-online.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060402162448.bgqmuf5k3t7osgsg@www.be-known-online.com> User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: Passing options to Newfs in the FreeBSD installer 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: Sun, 02 Apr 2006 17:05:49 -0000 On Sun, Apr 02, 2006 at 04:24:48PM +0000, valentin_nils@be-known-online.com wrote: > Hello FreeBSD Fans ;-), > > I have a probably simple question,which kept me busy for several days by now. > I have a few years experience with Linux and would like to extend my knowledge > now to the BSD*s. > > Hopefully my question is not too stupid so that somebody can point me into the > correct direction. Anyway here we go... > > During the FreeBSD installation I would like to pass parameters to the programm > which creates the filesystem *newfs if I understand that correctly. > > I would like to pass the following options: nosuid, noexec, userquota & > groupquota to some partitions. > > Whatever I do - even when I want to pass only a single option - I get as a error > message "Invalid argument" > > 1) Are the above options "nosuid, noexec, userquota, groupquota" valid options > to be passed to the installer programme newfs or do I have some misspells here > ? Those are not options that can be passed to newfs or used when creating the filesystem. They are options for mount(8) and can be put in /etc/fstab to be used when you are mounting the filesystem. (See the mount(8) and fstab(5) manpages.) > > 2) How would I separate several options in the installers input screen after > pressing "G", by komma (,) by semicolon (;) or just by space ( ) ? Assuming that you are still talking about options to newfs, you write the options exactly as you would do on the command line. (See the newfs(8) manpage for available options.) (If you do not have a FreeBSD system available with manpages installed, they can also be found at http://www.freebsd.org/cgi/man.cgi ) > > I did search the mailing lists up and down and consulted my book from Michael > Lucas and googled, but somehow I didnt find the answer. > > I would appreciate any replies. > > Best regards > > Nils Valentin > http://www.be-known-online.com -- Erik Trulsson ertr1013@student.uu.se