Current-Users archive

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

Re: vnconfig for part of a file



On Apr 12, 2015, at 5:55 PM, Greg Troxel wrote:
> My reaction is that vnconfig is for making a file look like a disk, and
> that the problem you are having with addressing part of the disk is a
> disk problem, not a file problem.  So the solution to it should apply
> equally to a vnd as to a physcial disk.  Consider what you would do if
> you had attached a physical disk to your system to prepare instead.
> 
> For vm images, I tend to use bare disklabel and not fdisk, and thus can
> address the partitions using vnd0a, vnd0e, etc.

Thanks for the clue.  For some reason I missed the obvious, but you are right that vnconfig will expose the whole file as a disk that can be partitioned, etc. just like normal.  Sorry for the diversion.

Cheers,
Brook



Home | Main Index | Thread Index | Old Index