Subject: Re: Extending a Ramdisk
To: Timothy A. Musson <timothy.musson@zin-tech.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 10/30/2003 22:43:16
On Thu, Oct 30, 2003 at 09:43:50AM -0500, Timothy A. Musson wrote:
> I have a 4MB ramdisk file that I want to add stuff to. I'd like to extend
> it to 8MB. How should I go about doing so? I've used "dd" to create an 8MB
> file, but I can't seem to copy the original ramdisk into the extended one
> with the behavior I want. When I use "cat" or "dd" to try and copy the
> contents, my 8MB file gets re-sized to a 4MB file.

the easiest is probably to newfs the 8MB file, mount both files and copy
from one mount point to another.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--