Re: Passing options to Newfs in the FreeBSD installer

2006-04-02 Thread Erik Trulsson
On Sun, Apr 02, 2006 at 04:24:48PM +, [EMAIL PROTECTED] 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

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Passing options to Newfs in the FreeBSD installer

2006-04-02 Thread Dhénin Jean-Jacques
Very nice answer.

2006/4/2, Erik Trulsson [EMAIL PROTECTED]:
 On Sun, Apr 02, 2006 at 04:24:48PM +, [EMAIL PROTECTED] 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

 --
 Insert your favourite quote here.
 Erik Trulsson
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



--
jjd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Passing options to Newfs in the FreeBSD installer

2006-04-02 Thread valentin_nils

Hi Erik,

I just wanted to say thank you for pointing me into the right direction.

Turns out, I had a somewhat skewed understanding what newfs is for. I
understand now that those options noexec and nosuid are to be passed to the
mount command and the quota options must be enabled in the kernel first.


Thank you also especially for the online man page link. That defintely 
helped a

lot as my installation always fell (understandably ;-)

Best regards

Nils Valentin
http://www.be-known-online.com


Quoting Erik Trulsson [EMAIL PROTECTED]:

On Sun, Apr 02, 2006 at 04:24:48PM +, 
[EMAIL PROTECTED] 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


--
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]