On Fri, Jan 18, 2008 at 09:24:22AM -0900, Ken Irving <[EMAIL PROTECTED]> was 
heard to say:
> n Fri, Jan 18, 2008 at 12:16:28PM -0500, Douglas A. Tutty wrote:
> >
> > Why issue a 'sync' instead of just unmounting and waiting until the
> > thing stops flashing?
> 
> sync blocks, so you can tell from the command line when the job is done.

  So does umount.  (I see you said that below, but I wanted to underline
it again; it looks like Rudolfo overlooked it)  After "umount"
completes, it's safe to remove the stick.

> I guess this thread took a turn to USB drives, which would presumably
> be local, but the rsync operation might be on a remote system where the
> lights aren't visible.

  If you're rsyncing to a remote system, it doesn't matter whether you
sync or not unless you've directly mounted it on your computer using
something like NFS.  "sync" flushes the local computer's write buffers,
but if you've rsynced over ssh, all the actual writes took place on the
remote machine.  You'd have to ssh over there and run sync to ensure
that your data was written to disk.

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to