LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-20-2002, 01:02 PM   #1
sajanjohn
LQ Newbie
 
Registered: Apr 2002
Location: bangalore , india
Distribution: redhat7.1,mandrake8.1
Posts: 3

Rep: Reputation: 0
Question handling devices


hey im so new to linux , any body can explain me how i can direcly control my devices like cd-rome and floppy using a c++ or java.
 
Old 04-20-2002, 02:18 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
If your new, you need read some Guides and HOWTOs from the Linux Documentation Project:

http://www.tldp.org/

In linux, all disk drives are known as "block devices" because they work with blocks of data. In C++ and Java you will access files using either input/output streams or random access. As long as you access your drives using mounted filesystems, you can treat all "block devices" in essentially the same ways.

In order to get your filesystems mounted automatically, you may need to edit your /etc/fstab file. For more info, you can type this the terminal:

man fstab




Last edited by zmedico; 04-20-2002 at 02:21 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
handling arrays.....in C Veteq Programming 3 05-30-2005 03:59 PM
Questions about I/O handling tonyosborne Programming 5 12-17-2004 12:24 PM
Handling several USB mass storage devices? KlaymenDK Mandriva 3 06-30-2004 11:04 AM
Red Hat not handling USB devices as well as Mandrake? Campitor Red Hat 1 10-24-2003 08:31 PM
Handling UP and DOWN buttonz alexzander Programming 2 03-13-2002 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration