Mailinglist Archive: opensuse-buildservice (200 mails)

< Previous Next >
[opensuse-buildservice] mount command behaviour in VMs

When you build in either xen or KVM, the mount command seems to use
host's mount options instead of the VM's one.

for example in my SSD drive

fsck from util-linux 2.19
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda
/dev/vda: clean, 19024/262144 files, 187334/1048576 blocks
fsck succeeded. Mounting root device read-write.
Mounting root /dev/vda
mount -o rw,noatime,data=writeback,acl,user_xattr,barrier=0,commit=100
-t ext4 /dev/vda /root

or in the OBS

fsck from util-linux 2.19-rc3
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1
/dev/hda1: Superblock last write time is in the future.
(by less than a day, probably due to the hardware clock being
incorrectly set). FIXED.
/dev/hda1: clean, 2621/897600 files, 123116/3584000 blocks
fsck succeeded. Mounting root device read-only.
Mounting root /dev/hda1
mount -o ro,defaults -t ext3 /dev/hda1 /root

This doesnt sound like the expected behavior to me, or am I missing
something here ?
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups