Re: removable device

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

 



On 5/10/06, Jordi Vaquero <jvaquero@xxxxxxxxxx> wrote:
Hello all,
I'm writing a removable driver for a disk device. My question is if
there ire any way to mark the block device as inaccessible until a new
media_changed tell me that the device is accessible. There is any flag
to block the access without blocking the kernel??
thanks for all
jordi


can you elaborate?
Do you mean that until you get media_changed, the device should not be
accessible by user apps (by read/write)?

regards
Manish Regmi

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux