473,396 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to use mount() system call for cd image mounting

hello everyone;
I was trying to make a prog. to mount CD image using
mount() system call, but I got error
block device require what arguments should I pass to it to make it
work.

Oct 7 '07 #1
3 4160
paras sharma wrote:
hello everyone;
I was trying to make a prog. to mount CD image using
mount() system call, but I got error
block device require what arguments should I pass to it to make it
work.
Please post to comp.unix.programmer and be a bit more detailed with your
question.

Oct 7 '07 #2
paras sharma wrote, On 07/10/07 17:24:
hello everyone;
I was trying to make a prog. to mount CD image using
mount() system call, but I got error
block device require what arguments should I pass to it to make it
work.
You need to ask on a group dedicated to your implementation (or type of
implementation) since mount() is not part of standard C. Taking a guess,
I would suggest possibly comp.unix.programmer since I know Linux & Unix
have a mount function.

See http://clc-wiki.net/wiki/Introduction_to_comp.lang.c for the opinion
of a number of regulars on what is topical here and why.
--
Flash Gordon
Oct 7 '07 #3
paras sharma wrote:
hello everyone;
I was trying to make a prog. to mount CD image using
mount() system call, but I got error
block device require what arguments should I pass to it to make it
work.
This is not a standard C library API, so you are off-topic.

Why not read the man page...?!

--
Tor <torust [at] online [dot] no>

C-FAQ: http://c-faq.com/
Oct 8 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dpickles | last post by:
Hello, I am creating a simple application that will reside in the Windows system tray. The purpose of the program is to mount or unmount external hard drives or flash memory devices, and to set...
3
by: Terry Olsen | last post by:
My 5 year old has lots of games that require the CD be in the drive. I would like to come up with a program that will mount the .iso image to a virtual cd-rom drive and then run the game...
3
by: forest demon | last post by:
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user...
1
by: manueladeva | last post by:
Hi guys! can anyone help me with my project. I have to mount usb using C. and i got to read about system function. can anyone help me with a code on how to use use this in mounting usb..
3
by: tguclu | last post by:
Hi there, I hope this is the right place for my question if not please accept my apologies. In my application I want to mount/umount file system. From GNU C Library Reference Manual, for...
3
by: m.smith_1999 | last post by:
Hello, I'm a student software developer. As a part of an excerise I'm doing I'm trying to build a program to create "mount files" and mount them. Something like Sarah Dean's OTFE but really...
7
by: Mitko Haralanov | last post by:
Hi, I am trying to find a way to figure out whether a certain remote filesystem is mounted using tcp vs. udp in Python. I've looked at the statvfs call and module but they don't give me anything...
1
Nepomuk
by: Nepomuk | last post by:
In most modern distributions of Linux and Unix (at least ones with graphical environments like KDE, Gnome or XFCE), you get to mount your partitions easily from the desktop. In some cases however, it...
12
by: tvnaidu | last post by:
Trying to mount windows folder on Linux machine, getting this error. I have a folder called "CheckIn" on windows, I made that folder as Network sharing. ON lInux, I tried to access that folder by...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.