"Nadav Har'El" <n...@math.technion.ac.il> writes: > On Sun, Nov 06, 2011, Oleg Goldshmidt wrote about "Re: umount and data is > lost?": >> > Does "hdparm -F" perhaps help? (after the umount, before the reboot) >> >> Eh, "hdparm -f" I guess? > > I don't know, I didn't actually test what these do, but according to the > hdparm(8) manual page,
I plead temporary insanity. I didn't remember any of hdparm(8) options, so I fired the man page up, found -f (that looked relevant), and didn't find -F. I actually searched for it in vain... So I decided it was a typo. Now I am home on a different computer and it's there in the man page. I went back to the work laptop, and it magically appeared there as well. It is not clear which is more relevant, but probably -F. Re the question of relevance of hdparm(8) to NAND drives: as far as I understand hdparm(8) is shell interface to ATA or IDE ioctls, and "IDE NAND flash" seems a familiar combination... I am quite rusty, but you (Diego, not Nadav, sorry to mix subtopics) probably know if your NAND presents itself as an IDE or ATA device. So it well may be relevant and either hdparm or the appropriate ioctl (if in real code and not in script) may help, even as you already figured out the reboot procedure that saves the day. -- Oleg Goldshmidt | p...@goldshmidt.org _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il