Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-20-2002, 02:02 PM   #1
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, 03:18 PM   #2
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:

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 03:21 PM.


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

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

All times are GMT -5. The time now is 03:09 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
Open Source Consulting | Domain Registration