From: Dan Merillat <dmerillat@sequiam.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] device-mapper: : dm-linear: Device lookup failed
Date: Wed, 11 Aug 2004 16:32:58 -0400 [thread overview]
Message-ID: <20040811203257.GL21230@chaos.ao.net> (raw)
In-Reply-To: <1092220929.11356.0.camel@leto.cs.pocnet.net>
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 155 bytes --]
prev parent reply other threads:[~2004-08-11 20:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-11 1:17 [linux-lvm] device-mapper: : dm-linear: Device lookup failed Dan Merillat
2004-08-11 10:42 ` Christophe Saout
2004-08-11 20:32 ` Dan Merillat [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040811203257.GL21230@chaos.ao.net \
--to=dmerillat@sequiam.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox