LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   creation of file system (https://www.linuxquestions.org/questions/linux-kernel-70/creation-of-file-system-796982/)

shirshbansal 03-22-2010 01:54 AM

creation of file system
 
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

rweaver 03-23-2010 10:33 AM

You might want to look into making your file system using FUSE. http://fuse.sourceforge.net/

theNbomr 03-23-2010 10:45 AM

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

nini09 03-24-2010 02:19 PM

You can use raw disk or device to create any file system you want in user space.


All times are GMT -5. The time now is 02:43 PM.