From c287a2172324a5fdda472ba1b8d4e666b80a4d58 Mon Sep 17 00:00:00 2001 From: Rafal Wojtczuk Date: Thu, 13 May 2010 15:23:31 +0200 Subject: [PATCH] Allow user in VM to mount /dev/xvdi; so that we can do ...block-attach... something vfat-formatted...xvdi in dom0. --- appvm/fstab | 1 + rpm_spec/core-appvm.spec | 2 ++ 2 files changed, 3 insertions(+) diff --git a/appvm/fstab b/appvm/fstab index 604dbb8f..f8a44d34 100644 --- a/appvm/fstab +++ b/appvm/fstab @@ -15,3 +15,4 @@ sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/xvdg /mnt/outgoing vfat noauto,user,rw 0 0 /dev/xvdh /mnt/incoming vfat noauto,user,rw 0 0 +/dev/xvdi /mnt/removable vfat noauto,user,rw 0 0 diff --git a/rpm_spec/core-appvm.spec b/rpm_spec/core-appvm.spec index d88ea3ca..7ff2a1c0 100644 --- a/rpm_spec/core-appvm.spec +++ b/rpm_spec/core-appvm.spec @@ -66,6 +66,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/sysconfig cp iptables $RPM_BUILD_ROOT/etc/sysconfig/ mkdir -p $RPM_BUILD_ROOT/mnt/incoming mkdir -p $RPM_BUILD_ROOT/mnt/outgoing +mkdir -p $RPM_BUILD_ROOT/mnt/removable %post @@ -160,3 +161,4 @@ rm -rf $RPM_BUILD_ROOT %dir /var/lib/qubes %dir /mnt/incoming %dir /mnt/outgoing +%dir /mnt/removable