Project

General

Profile

Actions

Bug #6906

closed

Issues with /tmp and /var in RAM on 2.4

Added by Jim Pingle about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
High
Category:
Package System
Target version:
Start date:
11/09/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4
Affected Architecture:

Description

I set /tmp and /var to be in RAM on a test box running 2.4 and hit a couple issues:

1. I had two packages installed before switching. After, the packages showed as broken (red text). I had to reinstall them both.

2. On every reboot, the system pauses for input at the console:

Mounting filesystems...
override rwxr-xr-x  root/wheel for /root/var/db/pkg? (y/n [n]) y
mv: rename /var/db/pkg to /root/var/db/pkg: Read-only file system
override rwxr-xr-x  root/wheel for /root/var/cache/pkg? (y/n [n]) y
mv: rename /var/cache/pkg to /root/var/cache/pkg: Read-only file system
Setting up memory disks... done.

If I answer y to both, it continues on and appears to operate OK. Packages show as installed OK.

Setting 'high' because it requires console access to make the system boot.

Actions

Also available in: Atom PDF