Hello everyone,
I am trying to configure FreeBSD 6.3 to allow hot removal of USB flash cards without their manual unmounting. I have successfully used the patches by Henrik Gulbrandsen (http://www.freebsd.org/cgi/query-pr.cgi?pr=46176&cat= ) to avoid kernel panic after device removal, and the only problem remaining is cache management. If the device is mounted without the sync option, the performance is perfect, but hot removal sometimes causes data corruption on the flash disk. If sync option is used while mounting the device, write performance becomes terrible (20 KB/s). Is there any way to improve write performance with sync option or prevent data corruption without it? I understand that umount should be used to completely avoid these problems, but in my case it is not possible to invoke it, since the users will not be given shell access. With best regards, P. Trifonov _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"