Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to create a file system using c++ in linux. Now for that I need to access the cylinders, tracks and sectors of the hard disk for creating partitions, etc. using c++. It would be very helpful if any one could help me in this matter
As I understand it, filesystems are at least one layer removed from low-level elements like spinning media geometry. The Linux block-device layer abstracts all mass media devices to behave similarly, and provides an API for filesystems to access all block devices equivalently. It seems that you probably want to distinguish whether you really want to create a filesystem using an existing block device, or create a block device driver, or both.
--- rod
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.