Re: MMC ioctl or sysfs interface?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sul, 2005-06-12 at 19:15, Pierre Ossman wrote:
> Alan Cox wrote:
> I wasn't aware that you could do ioctl on sysfs nodes. I guess I'll have
> to dig a bit deeper in the documentation/code.

You can add support, but you'll need a device node one day anyway so you
might as well give up on the sysfs only game - it doesn't IMHO work.

> As for keeping the same ioctl. If the current ioctls are similar enough
> then I don't see why not. The userspace tools might need changing though
> since all ATA ioctls won't be available. What tool is used for locking
> an ATA drive? And is there some documentation detailing the lock
> commands and related ioctls so I can compare with what I'm trying to do?

Right now for ATA you issue a taskfile ioctl, for SCSI you use SG_IO and
applications are not presented with any uniformity.

-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux