Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 1999 19:07:00 -0500
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Annelise Anderson' <andrsn@andrsn.stanford.edu>
Cc:        "FreeBSD Questions (E-mail)" <questions@FreeBSD.ORG>
Subject:   RE: vnconfig on bootup?
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105DBF@site2s1>

next in thread | raw e-mail | index | archive | help
Annelise,
I didn't relize I was being vague.  Sorry.

What I'm looking to be able to do is just add entries in /etc/fstab so that
my vnX devices are automatically mounted on startup (w/o causing errors of
course).  I know I can just make a simple shell script that runs the
specific mount commands, and I do know how to do that (although I'll admit I
didn't even think of that at first).

I would just like to be able to edit /etc/fstab and have the devices
automatically mounted on startup.  To me this should be an option.  One
would not tell a user to make a shell script to mount any other kind of
filesystem, whether it be UFS, NFS, MFS, MSDOS, CD9660, etc...  There is an
option to start such things are vinum on startup as well.

So, since I know why it cannot be done in the current system, I would like
to be able to start working on a solution that would allow one to set a
variable in /etc/rc.conf such as vnconfig_all="YES".

I am by far not that experienced, but most replies to "I'd like to see this
feature in FreeBSD" are "supply diffs".  So I'd like to show that I actually
put some effort and thought into this solution.

Unfortunately I cannot put any work forward until I can figure out how to
statically compile vnconfig.  Can you (or anyone for that matter) be so kind
as to point me in the right direction for this?  I'm not asking for hand
holding, just a pointer or two.

Thank you,
-Chris

P.S.  I really do appreciate your help thus far.

> -----Original Message-----
> From:	Annelise Anderson [SMTP:andrsn@andrsn.stanford.edu]
> Sent:	Friday, November 26, 1999 5:56 PM
> To:	Christopher Michaels
> Cc:	FreeBSD Questions (E-mail)
> Subject:	RE: vnconfig on bootup?
> 
> 
> 
> On Fri, 26 Nov 1999, Christopher Michaels wrote:
> 
> > In other words, w/o making a script that explicitly mounts each mount
> point,
> > it can't be done.  This much I already know how to do, I was hoping for
> some
> > level of automation.
> 
> Maybe I haven't understood what you're trying to do.  But you can
> do in a script whatever you can do at the command line.  And from
> /usr/local/etc/rc.d, you can do it after all the disks are mounted.
> And then you don't need to compile vnconfig statically, which 
> doesn't help you with automation anyway, as far as I can tell.
>  
> > Just incase I feel like playing with this.  Can you (or someone else)
> give
> > me some pointers as to how to statically compile vnconfig (or any
> program
> > for that matter).
> > 
> > Thank you,
> > -Chris
> > 
> Annelise


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105DBF>