umount and data is lost?
Oleg Goldshmidt
pub at goldshmidt.org
Sun Nov 6 21:37:56 IST 2011
"Nadav Har'El" <nyh at 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 | pub at goldshmidt.org
More information about the Linux-il
mailing list