RE: usb umass flash drive mount/umount questions

2004-02-04 Thread Brian Black
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)-
-[EMAIL PROTECTED]  -
-ProActiveTechllc.com   -
-  Wintersville OH  -
-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb umass flash drive mount/umount questions

2004-02-03 Thread Saint Aardvark the Carpeted
Fred Clift disturbed my sleep to write:
 So, are there other fstypes, or some kind of filesystem tuning or mount
 flags I can use to say always flush all writes synchronously so that if
 the device disappeared it would be consistent and have the right contents.

Probably a dumb question, but wouldn't -o sync do this?
-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]