Bug#504678: add -r to make resulting devices read/only
Wakko Warner
wakko at animx.eu.org
Thu Nov 6 02:44:35 UTC 2008
Package: kpartx
Version: 0.4.8-13
Severity: wishlist
Tags: patch
I'd like to have the ability to create targets in which are read-only to
keep from accidentally modifying the newly created device. In some cases,
mounting with -o ro still modifies the device (in the case of ext3
filesystems). I created a small patch that will do this. I have tested it
only to the point that using -a with or without -r produces the desired
effects.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24.5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages kpartx depends on:
ii dmsetup 2:1.02.27-4 The Linux Kernel Device Mapper use
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.27-4 The Linux Kernel Device Mapper use
kpartx recommends no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multipath-tools-0.4.8-read-only-switch.diff
Type: text/x-c
Size: 3165 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20081105/0ab9f741/attachment.bin
More information about the pkg-lvm-maintainers
mailing list