[linux-lvm] device-mapper: : dm-linear: Device lookup failed

Dan Merillat dmerillat at sequiam.com
Wed Aug 11 20:32:58 UTC 2004

On Wed, 11 Aug 2004, Christophe Saout wrote:

> Am Dienstag, den 10.08.2004, 21:17 -0400 schrieb Dan Merillat:
> > I can't use my CD-rom as a device-mapper target, is this intended?
> > 
> > "0 2048 linear /dev/hda1 0" works, "0 2048 linear /dev/hdc 0" does not.
> You have to explicitly create a read-only mapping using -r.

Aha, that fixes it.

Ok, may be useful to return an error message like "read-write mapping
requested on a read-only media", or just do like filesystem mounting:
demote it to read-only and report to the user.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 155 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040811/91946563/attachment.sig>

More information about the linux-lvm mailing list