LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 03-22-2010, 01:54 AM   #1
shirshbansal
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
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

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

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
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
nini09
Member
 
Registered: Apr 2009
Posts: 919

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


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 04:55 AM.

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