Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #158535
| From | Serkan KURT <ssserkkk@yahoo.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Yan: KDE file copy to usb device without file cache |
| Date | 2015-10-03 09:40 +0200 |
| Message-ID | <qfpAd-3DX-3@gated-at.bofh.it> (permalink) |
| References | <qfoNQ-2uQ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Thank you Thomas. I use sync but how can i this with GUI for newbie users? Because it creates problems for these users.
I tried UDEV rules as follows but i can't.
ACTION=="add",KERNEL=="sd[a-z][0-9]", RUN+="su -l $USER -c '/usr/bin/pmount --sync --umask 000 %k'"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="su -l $USER -c '/usr/bin/pumount %k'"
Debian Jessie, KDE
3 Ekim 2015 9:42 Cumartesi tarihinde Thomas Schmitt <scdbackup@gmx.net> şöyle yazdı:
Hi,
Serkan KURT wrote:
> How can i a file copy to usb device without file cache?
> KDE notifier shows copy completed but actually copy process does not
> finished.
After the GUI programs reported success, execute command "sync"
in a shell and wait until it is done.
If you really want to write unbuffered:
There is an i/o mode named "Direct I/O", which is not well-deemed
by the kernel developers. Your mileage may vary.
Program "dd" has an option "oflag=direct".
C function open(2) has flag O_DIRECT.
Have a nice day :)
Thomas
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
KDE file copy to usb device without file cache Serkan KURT <ssserkkk@yahoo.com> - 2015-10-03 01:10 +0200
Re: KDE file copy to usb device without file cache "Thomas Schmitt" <scdbackup@gmx.net> - 2015-10-03 08:50 +0200
Yan: KDE file copy to usb device without file cache Serkan KURT <ssserkkk@yahoo.com> - 2015-10-03 09:40 +0200
Re: KDE file copy to usb device without file cache "Thomas Schmitt" <scdbackup@gmx.net> - 2015-10-03 10:40 +0200
Re: KDE file copy to usb device without file cache Stuart Longland <stuartl@longlandclan.id.au> - 2015-10-03 15:20 +0200
Re: KDE file copy to usb device without file cache Tony van der Hoff <tony@vanderhoff.org> - 2015-10-03 11:10 +0200
csiph-web