How to install additional packages in freenas 0.8
Actually, freenas 0.8 got into the hands of installing iperf, I simply googled the command pkg_add -r iperf , where -r tells iperf to be installed from the repository, but in the root, the root is mounted only for reading:
freenas2 # mount
/ dev / ufs / FreeNASs1a on / ( ufs, local, soft-updates)
devfs on / dev (devfs, local, multilabel)
/ dev / md0 on / etc (ufs, local)
/ dev / md1 on / mnt (ufs, local)
/ dev / md2 on / var (ufs, local)
/ dev / ufs / FreeNASs4 on / data (ufs, local, soft-updates)
data on / mnt / data (zfs, local) The
existing solutions I found are based on all sorts of chroot and unionfs and were pretty tense.
Actually treated by the command:
mount -o rw / dev / ufs / FreeNASs1a /
And voila, any software can be set to pkg_add -r.
freenas2 # mount
/ dev / ufs / FreeNASs1a on / ( ufs, local, soft-updates)
devfs on / dev (devfs, local, multilabel)
/ dev / md0 on / etc (ufs, local)
/ dev / md1 on / mnt (ufs, local)
/ dev / md2 on / var (ufs, local)
/ dev / ufs / FreeNASs4 on / data (ufs, local, soft-updates)
data on / mnt / data (zfs, local) The
existing solutions I found are based on all sorts of chroot and unionfs and were pretty tense.
Actually treated by the command:
mount -o rw / dev / ufs / FreeNASs1a /
And voila, any software can be set to pkg_add -r.