Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: growfs(8) for NetBSD



On Fri, 28 Mar 2008 16:09:49 +0000 (GMT)
Stephen Borrill <netbsd%precedence.co.uk@localhost> wrote:

> That's not quite what I meant...
> 
> I can't see a check for whether it is mounted that is skipped by 
> ExpertFlag being 1, i.e. -y doesn't skip the check for whether it is 
> mounted. In fact, I can't see the check at all.
> 
> > And the snapshot code is in an ifdef FSMAXSNAP code, so it's built by
> > default.
> 
> In your later mail you say you mean NOT built. But it includes
> <ufs/ffs/fs.h> which defines FSMAXSNAP.

Ah yes, you are right in both points. We can add the code to be sure the
partition is not already mounted.

--
Juan Romero Pardines - xtraeme at gmail|netbsd dot org
        The NetBSD Project

Make your own NetBSD/x86 Live CD:
http://www.netbsd.org/~xtraeme/mklivecd/


Home | Main Index | Thread Index | Old Index