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

Re: issues affecting kfreebsd d-i



On 04/02/2014 00:40, Steven Chamberlain wrote:
> On 04/02/14 00:34, Robert Millan wrote:
>> > Where are all these being downloaded to? The root ramdisk is constrained, but
>> > tmpfs isn't. We can mount that anywhere we'd like.
> I'm guessing /var/cache/anna in the ramdisk initially, but udpkg
> installs their contents one at a time all over the root filesystem.

So we can get rid of almost half the problem by adding a single line to /sbin/init?

Sounds like a good start... and it doesn't preclude reducing the size in other
ways. What do you think?

-- 
Robert Millan
diff --git a/src/sbin/init-kfreebsd b/src/sbin/init-kfreebsd
index e8ea04d..33a7389 100755
--- a/src/sbin/init-kfreebsd
+++ b/src/sbin/init-kfreebsd
@@ -19,6 +19,7 @@ mount /dev
 mount /dev/fd
 mount /proc
 mount /sys
+mount -t tmpfs /var/cache/anna
 ln -s /var/run/log /dev/log
 
 # Get all kernel parameters that can be exported as environment variables

Reply to: