Re: device-mapper: : dm-linear: Device lookup failed

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

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux