On Fri, Apr 27, 2001 at 09:23:57AM -0400, you [Alexander Viro] claimed: > > > On Fri, 27 Apr 2001, Vojtech Pavlik wrote: > > > Actually this is done quite often, even on mounted fs's: > > > > hdparm -t /dev/hda > > You would need either hdparm -t /dev/hda<something> or mounting the > whole /dev/hda. > > Buffer cache for the disk is unrelated to buffer cache for parititions. Well, I for one have been running hdparm -t /dev/md0 or time head -c 1000m /dev/md0 > /dev/null while /dev/md0 was mounted without realizing that this could be "stupid" or that it could eat my data. /dev/md0 on /backup-versioned type ext2 (rw) I often cat(1) or head(1) partitions or devices (even mounted ones) if I need dummy randomish test data for compression or tape drives (that I've been having trouble with). BTW: is 2.2 affected? 2.0? -- v -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] SMP race in ext2 - metadata corruption. Alexander Viro
- Re: [PATCH] SMP race in ext2 - metadata corruption. Andrea Arcangeli
- Re: [PATCH] SMP race in ext2 - metadata corruption. Linus Torvalds
- Re: [PATCH] SMP race in ext2 - metadata corruption. Andrea Arcangeli
- Re: [PATCH] SMP race in ext2 - metadata corruption. Andrea Arcangeli
- Re: [PATCH] SMP race in ext2 - metadata corruption. Andrzej Krzysztofowicz
- Re: [PATCH] SMP race in ext2 - metadata corruption. LA Walsh
- Re: [PATCH] SMP race in ext2 - metadata corruption. dek_ml
- Re: [PATCH] SMP race in ext2 - metadata corruption. Vojtech Pavlik
- Re: [PATCH] SMP race in ext2 - metadata corruption. Alexander Viro
- Re: [PATCH] SMP race in ext2 - metadata corruption. Ville Herva
- Re: [PATCH] SMP race in ext2 - metadata corruption. Linus Torvalds
- Re: [PATCH] SMP race in ext2 - metadata corruption. Shane Wegner
- Re: [PATCH] SMP race in ext2 - metadata corruption. Albert D. Cahalan
- Re: [PATCH] SMP race in ext2 - metadata corruption. Jens Axboe
- Re: [PATCH] SMP race in ext2 - metadata corruption. Andi Kleen
- Re: [PATCH] SMP race in ext2 - metadata corruption. volodya
- Re: [PATCH] SMP race in ext2 - metadata corruption. Alan Cox
- Re: [PATCH] SMP race in ext2 - metadata corruption. Linus Torvalds
- Re: [PATCH] SMP race in ext2 - metadata corruption. Rogier Wolff
- Re: [PATCH] SMP race in ext2 - metadata corruption. Jens Axboe