Re: [gentoo-user] udev and usb stick/hdd

2007-07-24 Thread Crayon Shin Chan
On Tuesday 24 July 2007 04:21, Neil Bothwick wrote: I broke a GB stick in a couple of months by writing 700MB files to it. For reference, when it broke, what happened? Does it die outright, or do you get intermittent failures? -- Crayon -- [EMAIL PROTECTED] mailing list

Re: [gentoo-user] udev and usb stick/hdd

2007-07-24 Thread Neil Bothwick
On Tue, 24 Jul 2007 21:03:55 +0800, Crayon Shin Chan wrote: I broke a GB stick in a couple of months by writing 700MB files to it. For reference, when it broke, what happened? Does it die outright, or do you get intermittent failures? Read/write errors every time I tried to use it,

Re: [gentoo-user] udev and usb stick/hdd

2007-07-23 Thread maxim wexler
Which will destroy your flash device in as little as a couple of months (voice of experience here), and it probably the reason the option was removed. Ulp! Here's my line from fstab: /dev/sdb1 /usbauto noauto,user,rw,exec,sync0 0 Copied from a forum

Re: [gentoo-user] udev and usb stick/hdd

2007-07-23 Thread Alan McKinnon
On Monday 23 July 2007, maxim wexler wrote: Which will destroy your flash device in as little as a couple of months (voice of experience here), and it probably the reason the option was removed. Ulp! Here's my line from fstab: /dev/sdb1 /usbauto noauto,user,rw,exec,sync

Re: [gentoo-user] udev and usb stick/hdd

2007-07-23 Thread Neil Bothwick
Hello Alan McKinnon, It's only a matter of time and relates to how flash devices work. After many many writes to the same storage cell, it degrades. The good ones are rated to about 100,000 writes per cell. The cheap and nasty ones can be as low as 10,000 writes. You would be amazed how

Re: [gentoo-user] udev and usb stick/hdd

2007-07-22 Thread Dirk Heinrichs
Am Samstag, 21. Juli 2007 schrieb Aleksey V. Kunitskiy: On Saturday 21 July 2007 17:15, Dirk Heinrichs wrote: Yes. See http://www.reactivated.net/writing_udev_rules.html Big thanks Dirk It seems vfat doesn't have a sync mount option. For ntfs-3g I don't know. That's a pitty. It's a big

Re: [gentoo-user] udev and usb stick/hdd

2007-07-22 Thread Crayon Shin Chan
On Sunday 22 July 2007 15:20, Dirk Heinrichs wrote: Hmm, why is this a problem? As long as you always umount before pulling the USB stick your data will be save. You may also try to sync manually. In fact it is an advantage, because apparently the sync option causes unnecessary extra writes

Re: [gentoo-user] udev and usb stick/hdd

2007-07-22 Thread Neil Bothwick
On Sat, 21 Jul 2007 18:16:53 +0300, Aleksey V. Kunitskiy wrote: It seems vfat doesn't have a sync mount option. For ntfs-3g I don't know. That's a pitty. It's a big problem for me when I write data to flash disk and I need to flush data frequently. Which will destroy your flash device in

[gentoo-user] udev and usb stick/hdd

2007-07-21 Thread Aleksey V. Kunitskiy
Hi I'm trying to learn how to write udev rules for auto-naming usb sticks and usb hard drives. I have several problems that I can't solve: Can I precisely recognize usb stick and usb hard drive ? Note that the last is exactly external usb hard drive, not a usb stick. Can I disable write-cache

Re: [gentoo-user] udev and usb stick/hdd

2007-07-21 Thread Dirk Heinrichs
Am Samstag, 21. Juli 2007 schrieb Aleksey V. Kunitskiy: Can I precisely recognize usb stick and usb hard drive ? Note that the last is exactly external usb hard drive, not a usb stick. Yes. See http://www.reactivated.net/writing_udev_rules.html Can I disable write-cache on vfat,ntsf-3g? It

Re: [gentoo-user] udev and usb stick/hdd

2007-07-21 Thread Aleksey V. Kunitskiy
On Saturday 21 July 2007 17:15, Dirk Heinrichs wrote: Yes. See http://www.reactivated.net/writing_udev_rules.html Big thanks Dirk It seems vfat doesn't have a sync mount option. For ntfs-3g I don't know. That's a pitty. It's a big problem for me when I write data to flash disk and I need to