Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2004 08:04:50 -0500
From:      Brian Black <BlackBsd@Mountain.Net>
To:        fclift@verio.net, freebsd-questions@freebsd.org
Subject:   RE: usb umass flash drive mount/umount questions
Message-ID:  <4020EDF2.2000505@Mountain.Net>

next in thread | raw e-mail | index | archive | help
Fred,
    have u tried to give the sync option when mounting.  Tho i have not 
used usb.conf  to auto mount(which is cool), my /etc/fstab line reads
/dev/da0s1   /mnt/thumb   ufs2   rw,noauto,sync   0   0

IMO, even if u use the sync option u are not guaranteed to have all the 
data written out to the thumb drive if u wish to just pull the device 
from the box.  the box cannot determine when u are going to pull the 
device.  by doing the umount the computer knows to flush all the I/O 
because the thumb drive might be pulled.

hope that helps any.

-- 
-----------------------------------------
-    Brian Black (Software Engineer)	-
-	 BlackBsd@Mountain.Net		-
-        ProActiveTechllc.com		-
-          Wintersville OH		-
-----------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4020EDF2.2000505>