Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 03-22-2010, 01:54 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
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
Old 03-23-2010, 10:33 AM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
You might want to look into making your file system using FUSE.
1 members found this post helpful.
Old 03-23-2010, 10:45 AM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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
Old 03-24-2010, 02:19 PM   #4
Senior Member
Registered: Apr 2009
Posts: 1,384

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


file, linux, system

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with the creation of file system on acer aspire one (debian) wolle00 Linux - Laptop and Netbook 8 08-22-2010 01:17 PM
File System Creation Time meshcurrent Linux - General 5 02-08-2009 11:46 AM
System user creation with mysql user creation moos3 Programming 1 08-11-2007 08:01 PM
Core file creation problem on ramdisk system hasse69 Linux - General 1 05-12-2005 03:06 PM
RPM Spec file creation: %file section question davidas Linux - Newbie 0 03-16-2004 10:36 PM

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration