Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Flushing IO requests to a device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mcdreamer
n00b
n00b


Joined: 10 Jul 2006
Posts: 22
Location: London, England

PostPosted: Mon Aug 21, 2006 7:40 am    Post subject: Flushing IO requests to a device Reply with quote

Hi all,

Is there any way to flush pending IO requests (specificially writes) to a usb flash drive? The reason I ask is that I've aquired a new usb stick and unmounting blocks. If I pull out the device the unmount completes however if I look in the kernel messages then there are lost write requests.
Back to top
View user's profile Send private message
nitho
n00b
n00b


Joined: 19 Jul 2006
Posts: 16

PostPosted: Mon Aug 21, 2006 3:00 pm    Post subject: Reply with quote

Yep, you just have to issue
Code:

# sync

to flush the filesystem buffers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum