Allow user in VM to mount /dev/xvdi; so that we can do

...block-attach... something vfat-formatted...xvdi
in dom0.
This commit is contained in:
Rafal Wojtczuk 2010-05-13 15:23:31 +02:00
parent d3fb79dd05
commit e1efcf60b3
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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