Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 12:43:04 +0000
From:      Ruben de Groot <mail25@bzerk.org>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, Oscar Hodgson <oscar.hodgson@gmail.com>
Subject:   Re: Can an ISO file be mounted from /etc/fstab at boot?
Message-ID:  <20130318124303.GA51760@eris.bzerk.org>
In-Reply-To: <44r4jgv394.fsf@lowell-desk.lan>
References:  <CACxnZKMC05-PFF3yVKaOhs3gV5gt611sg8jbebWOiKyTJUD%2Bzg@mail.gmail.com> <44r4jgv394.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 15, 2013 at 04:04:23PM -0400, Lowell Gilbert typed:
> Oscar Hodgson <oscar.hodgson@gmail.com> writes:
> 
> > I'm pretty sure the answer is "no, just write a local rc script to do
> > that", but thought I'd check.
> >
> > Can't see any hint of that capability in the handbook or fstab(5).
> >
> > Really just looking for a single point of management for file systems ....
> 
> I don't see a way offhand. You need to do the mdconfig before you can
> mount, and I don't think that can be done inside of fstab. 
> 
> I think that adding such a capability to mount(8) as a program option
> would be a fairly minor hack.

If it was a standard (UFS) filesystem image (not ISO9600) it would be possible to mount from fstab with something like this:

/dev/md0 /data/mfs mfs rw,-PF/path/to/some.img,async 0 0

Ruben




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