O_DIRECT

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

 



I am having trouble with O_DIRECT. Trying to read or write from a block device partition.

1. Can O_DIRECT be used on a plain block device partition say "/dev/sda11" without having a filesystem on it.

2. If no file system is created then what should be the softblock size. I am using the IOCTL "BLKBSZGET". Is this correct?

3. Can we use SEEK_END with O_DIRECT on a partition without filesystem.

Any help will be highly regarded.

-Shesha



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