From e1efcf60b3e5433ee4b03de3627060444917371d 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 604dbb8..f8a44d3 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 d88ea3c..7ff2a1c 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