Re: Preventing delayed USB writes

2007-05-22 Thread pedxing
On May 18, 12:30 pm, pedxing [EMAIL PROTECTED] wrote: On May 17, 11:00 pm, Douglas Allan Tutty [EMAIL PROTECTED] wrote: On Tue, May 15, 2007 at 10:55:18PM -0600, Paul E Condon wrote: On 05/15/07 20:37, H.S. wrote: pedxing wrote: When I write to a USB device (stick or mp3

Re: Preventing delayed USB writes

2007-05-21 Thread Bob McGowan
Daniel Burrows wrote: On Thu, May 17, 2007 at 05:21:17PM -0700, pedxing [EMAIL PROTECTED] was heard to say: On May 17, 8:50 pm, Douglas Allan Tutty [EMAIL PROTECTED] wrote: To me, ideally, nothing would be written to the flash at all until either sync or umount. Yes, I wait. Yes, I also

Re: Preventing delayed USB writes

2007-05-21 Thread Daniel Burrows
On Mon, May 21, 2007 at 08:50:38AM -0700, Bob McGowan [EMAIL PROTECTED] was heard to say: Daniel Burrows wrote: On Thu, May 17, 2007 at 05:21:17PM -0700, pedxing [EMAIL PROTECTED] was heard to say: On May 17, 8:50 pm, Douglas Allan Tutty [EMAIL PROTECTED] wrote: To me, ideally, nothing

Re: Preventing delayed USB writes

2007-05-18 Thread Bonnel Christophe
Hi, I use gkrellm with the default plugin systemfile. It allows you mount and unmount the drives you have specified with a button. The other advantage is that, if you mount the partition with another tool, gkrellm will detect it and still can be use to unmount it. Another information that

Re: Preventing delayed USB writes

2007-05-18 Thread pedxing
On May 17, 11:00 pm, Douglas Allan Tutty [EMAIL PROTECTED] wrote: On Tue, May 15, 2007 at 10:55:18PM -0600, Paul E Condon wrote: On Tue, May 15, 2007 at 09:01:57PM -0500, Ron Johnson wrote: On 05/15/07 20:37, H.S. wrote: pedxing wrote: Lenny AMD64. When I write to a USB device

KDE removable device icons (was: Preventing delayed USB writes)

2007-05-18 Thread Florian Kulzer
On Thu, May 17, 2007 at 22:00:13 -0700, Daniel Burrows wrote: [...] You may want to take a look at Gnome. In Gnome, removable devices are handled like this: an icon appears on the desktop when the device is inserted. When you're done with the device, you click on the icon and select

Re: Preventing delayed USB writes

2007-05-17 Thread Douglas Allan Tutty
On Tue, May 15, 2007 at 01:52:15PM -0700, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy dialog says 100%, I can immediately unmount the device without having to wait

Re: Preventing delayed USB writes

2007-05-17 Thread Douglas Allan Tutty
On Wed, May 16, 2007 at 12:00:57AM -0400, Brendan wrote: On Tuesday 15 May 2007, Ron Johnson wrote: On 05/15/07 15:52, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy dialog

Re: Preventing delayed USB writes

2007-05-17 Thread Douglas Allan Tutty
On Tue, May 15, 2007 at 10:55:18PM -0600, Paul E Condon wrote: On Tue, May 15, 2007 at 09:01:57PM -0500, Ron Johnson wrote: On 05/15/07 20:37, H.S. wrote: pedxing wrote: Lenny AMD64. When I write to a USB device (stick or mp3 player), I notice that the writes appear to happen

Re: Preventing delayed USB writes

2007-05-17 Thread pedxing
On May 17, 8:50 pm, Douglas Allan Tutty [EMAIL PROTECTED] wrote: On Tue, May 15, 2007 at 01:52:15PM -0700, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy dialog says

Re: Preventing delayed USB writes

2007-05-17 Thread Carl Fink
The solution (okay, my solution) is to switch to one of the nifty new removable USB hard drives. Bigger than a flash drive, sure, but you can format it EXT2 if you'll never use it on a Windows box, and since what's in there is an IDE hard disk drive, syncing it won't hurt it worth mentioning.

Re: Preventing delayed USB writes

2007-05-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/17/07 20:29, Carl Fink wrote: The solution (okay, my solution) is to switch to one of the nifty new removable USB hard drives. Bigger than a flash drive, sure, but you can format it EXT2 if you'll never use it on a Windows box, and since

Re: Preventing delayed USB writes

2007-05-17 Thread Carl Fink
On Thu, May 17, 2007 at 09:06:33PM -0500, Ron Johnson wrote: On 05/17/07 20:29, Carl Fink wrote: The solution (okay, my solution) is to switch to one of the nifty new removable USB hard drives. Bigger than a flash drive, sure, but you can format it EXT2 if you'll never use it on a Windows

Re: Preventing delayed USB writes

2007-05-17 Thread Daniel Burrows
On Thu, May 17, 2007 at 05:21:17PM -0700, pedxing [EMAIL PROTECTED] was heard to say: On May 17, 8:50 pm, Douglas Allan Tutty [EMAIL PROTECTED] wrote: To me, ideally, nothing would be written to the flash at all until either sync or umount. Yes, I wait. Yes, I also wait. Because KDE

Re: Preventing delayed USB writes

2007-05-16 Thread pedxing
On May 16, 2:30 am, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 15:52, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy

Re: Preventing delayed USB writes

2007-05-16 Thread pedxing
On May 16, 2:30 am, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 15:52, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy

Re: Preventing delayed USB writes

2007-05-16 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 23:55, Paul E Condon wrote: [snip] the fs. But I suppose that in this modern world everything is disposable, including memory sticks. They are, in a way: Amazon has 512MB Kingston sticks for US$2.59. - -- Ron Johnson, Jr. Jefferson LA

Re: Preventing delayed USB writes

2007-05-16 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/16/07 00:49, pedxing wrote: [snip] Ideally, I would be able to turn the buffering off. It might take konq longer to complete the copy, but at least when it said that the copy was complete, the copy would be complete and the unmount

Re: Preventing delayed USB writes

2007-05-16 Thread pedxing
On May 16, 9:40 am, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 23:55, Paul E Condon wrote: [snip] the fs. But I suppose that in this modern world everything is disposable, including memory sticks. They are, in a way: Amazon has 512MB

Re: Preventing delayed USB writes

2007-05-16 Thread Nelson Castillo
On 5/16/07, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (cut) What you *could* do is add an entry to root's crontab which runs sync(1) every 15 or 30 seconds. That would *mitigate* the usb stick timeouts, but would sync *all* drives, not just your

Re: Preventing delayed USB writes

2007-05-16 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/16/07 03:09, Nelson Castillo wrote: On 5/16/07, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (cut) What you *could* do is add an entry to root's crontab which runs sync(1) every 15 or 30 seconds.

Re: Preventing delayed USB writes

2007-05-16 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/16/07 02:49, pedxing wrote: On May 16, 9:40 am, Ron Johnson [EMAIL PROTECTED] wrote: [snip] They are, in a way: Amazon has 512MB Kingston sticks for US$2.59. But flash-based mp3 players aren't quite so cheap or disposable... MP3 players

Re: Preventing delayed USB writes

2007-05-16 Thread Nelson Castillo
If you read the contents of the link I provided, you'd see why sync-mounting a vfat device might be a very bad idea. Thanks a lot, I missed it. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL

Re: Preventing delayed USB writes

2007-05-16 Thread Bob McGowan
Brendan wrote: On Tuesday 15 May 2007, Ron Johnson wrote: On 05/15/07 15:52, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy dialog says 100%, I can immediately unmount the device

Preventing delayed USB writes

2007-05-15 Thread pedxing
Lenny AMD64. When I write to a USB device (stick or mp3 player), I notice that the writes appear to happen quickly, but actually take a long time to complete. I assume there is some form of caching going on. To be safe, I issue a sync command from a terminal and wait for it (up to 15 minutes!)

Re: Preventing delayed USB writes

2007-05-15 Thread Daniel Palmer
pedxing wrote: To be safe, I issue a sync command from a terminal and wait for it (up to 15 minutes!) to complete before unmounting the drive. The benefit of delaying the writes is that you update the filesystem data less often and extend the life span of the flash. You can adjust the

Re: Preventing delayed USB writes

2007-05-15 Thread pedxing
On May 15, 7:40 pm, Daniel Palmer [EMAIL PROTECTED] wrote: pedxing wrote: To be safe, I issue a sync command from a terminal and wait for it (up to 15 minutes!) to complete before unmounting the drive. Running sync before umount isn't necessary because umount invokes sync itself. I do

Re: Preventing delayed USB writes

2007-05-15 Thread Celejar
On 15 May 2007 09:34:05 -0700 pedxing [EMAIL PROTECTED] wrote: Lenny AMD64. When I write to a USB device (stick or mp3 player), I notice that the writes appear to happen quickly, but actually take a long time to complete. I assume there is some form of caching going on. To be safe, I

Re: Preventing delayed USB writes

2007-05-15 Thread pedxing
I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy dialog says 100%, I can immediately unmount the device without having to wait for a delayed write. I have looked at the mount man page, but

Re: Preventing delayed USB writes

2007-05-15 Thread Alex Samad
On Tue, May 15, 2007 at 09:34:05AM -0700, pedxing wrote: Lenny AMD64. When I write to a USB device (stick or mp3 player), I notice that the writes appear to happen quickly, but actually take a long time to complete. I assume there is some form of caching going on. To be safe, I issue a

Re: Preventing delayed USB writes

2007-05-15 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 15:52, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy dialog says 100%, I can immediately unmount the device without

Re: Preventing delayed USB writes

2007-05-15 Thread Brendan
On Tuesday 15 May 2007, Ron Johnson wrote: On 05/15/07 15:52, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player, when the copy dialog says 100%, I can immediately unmount the device without

Re: Preventing delayed USB writes

2007-05-15 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 23:00, Brendan wrote: On Tuesday 15 May 2007, Ron Johnson wrote: On 05/15/07 15:52, pedxing wrote: I would like to configure things so that, for instance, when I (ok, actually my wife) use konqueror to copy songs to my mp3 player,

Re: Preventing delayed USB writes

2007-05-15 Thread H.S.
pedxing wrote: Lenny AMD64. When I write to a USB device (stick or mp3 player), I notice that the writes appear to happen quickly, but actually take a long time to complete. I assume there is some form of caching going on. To be safe, I issue a sync command from a terminal and wait for it (up

Re: Preventing delayed USB writes

2007-05-15 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 20:37, H.S. wrote: pedxing wrote: Lenny AMD64. When I write to a USB device (stick or mp3 player), I notice that the writes appear to happen quickly, but actually take a long time to complete. I assume there is some form of caching

Re: Preventing delayed USB writes

2007-05-15 Thread Paul E Condon
On Tue, May 15, 2007 at 09:01:57PM -0500, Ron Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/15/07 20:37, H.S. wrote: pedxing wrote: Lenny AMD64. When I write to a USB device (stick or mp3 player), I notice that the writes appear to happen quickly, but actually