Mailinglist Archive: opensuse (3831 mails)

< Previous Next >
Re: [opensuse] remove usb disk
  • From: Joseph Loo <jloo@xxxxxxx>
  • Date: Sat, 13 Jan 2007 20:25:54 -0800
  • Message-id: <45A9B0D2.8040704@xxxxxxx>
Rami Michael wrote:
> I would always "dismount" the drive peoperly as this should ensure
> that will data was written to it properly. While I have never had an
> issue just pulling the plug, its tthe same as just turning your comp
> off without shutting down.
>
> On 1/12/07, Joseph Loo <jloo@xxxxxxx> wrote:
>> Primm wrote:
>> >> Use sync at the command line before pulling the plug. This causes all
>> >> buffers to be written to all disks.
>> >>
>> >>
>> >
>> > Is the sync the same as the sync on NFS? As in setting async make
>> the network
>> > run at a reasonable speed?
>> >
>> In a sense it is. Like NFS, the USB stick it updates the directory
>> structure, I am not sure if before or after, when it writes a sector up.
>> In nfs, it is similiar, in that it guarantees that the nfs directory are
>> updated with the data over the network. I could be wrong about this,
>> though.
>>
>> --
>>
>> Joseph Loo
>> jloo@xxxxxxx
>>
>> --
>> To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
>> For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
>>
>>
>
>
If the sync is on, and it is not clear that 10.1 and 10.2 has it on, the
sync ensures that the disk is in proper state. Thus, if you let it
complete the write operation, the command prompt command, it is
equivalent yu doing an immediate sync command.

--

Joseph Loo
jloo@xxxxxxx

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >