Re: VFS mount rollback for virtio 9pfs
- In reply to: Navdeep Parhar : "Re: VFS mount rollback for virtio 9pfs"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Oct 2022 23:27:12 UTC
On Oct 17, 2022, at 4:07 PM, Navdeep Parhar <np@freebsd.org> wrote: > > This is what I have in the VM's /etc/fstab: > src /usr/src virtfs trans=virtio,ro,late 0 0 > obj /usr/obj virtfs trans=virtio,ro,late 0 0 Thanks for listing this as it made me realize my mistake! I typed "-t virtio" and was too tired to notice I should've used "-t virtfs" with mount. Daniel's code works fine! # mount -t virtfs -o trans=virtio sharename /mnt $ dd < largefile > /dev/null bs=1m count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 6.566231 secs (159692211 bytes/sec)