Project

General

Profile

Feature #4086

readonly option for lofiadm(1m)

Added by Alexander Eremin about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
kernel
Start date:
2013-08-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

lofiadm(1m) must be able to add file also as read-only loopback device. For example, read-only mode for lofi device allows to share just one fs image across multiple zones:

global# lofiadm -r usr.img
/dev/lofi/1
global# lofiadm -r usr.img
/dev/lofi/2

global# zonecfg -z zone1
zonecfg:zone1> add device
zonecfg:zone1:device> set match=/dev/rlofi/1
....
global# zonecfg -z zone2
zonecfg:zone2> add device
zonecfg:zone2:device> set match=/dev/rlofi/2
...

History

#1

Updated by Robert Mustacchi about 6 years ago

  • Tags deleted (needs-triage)
  • % Done changed from 20 to 100
  • Status changed from New to Resolved
  • Category set to kernel

Resolved in cd69fabe0332d2cf0e51b2cb6597286e0abcf6be.

Also available in: Atom PDF