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

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



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.

--Dan

Attachment: signature.asc
Description: Digital signature


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