* Re: [patch 4/5] Add MMC password protection (lock/unlock) support V2
[not found] ` <20051228185412.951490000@localhost.localdomain>
@ 2005-12-28 21:23 ` Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2005-12-28 21:23 UTC (permalink / raw)
To: Anderson Lizardo, linux-ide
Cc: linux-kernel, linux-arm-kernel, Russell King - ARM Linux,
David Brownell, Tony Lindgren, Anderson Briglia,
Carlos Eduardo Aguiar
On Wednesday 28 December 2005 18:40, Anderson Lizardo wrote:
>
> Implement MMC password reset and forced erase support. It uses the sysfs
> mechanism to send commands to the MMC subsystem. Usage:
>
> Forced erase:
>
> echo erase > /sys/bus/mmc/devices/mmc0\:0001/lockable
>
> Remove password:
>
> echo remove > /sys/bus/mmc/devices/mmc0\:0001/lockable
The MMC password support seems to be a subset of the operations
possible on modern ATA drives. IMHO, any interface you introduce
should be usable for both types of devices.
The only interface I could find for ATA is through HDIO_DRIVE_CMD.
This is currently used by hdparm, but it does not look like it
fits the MMC problem well.
Has anyone already done an ioctl or sysfs implementation of ATA
password user interfaces, or is perhaps the one proposed here
sufficient for ATA drives as well?
Arnd <><
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-28 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20051228184014.571997000@localhost.localdomain>
[not found] ` <20051228185412.951490000@localhost.localdomain>
2005-12-28 21:23 ` [patch 4/5] Add MMC password protection (lock/unlock) support V2 Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).