Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-22-2002, 04:31 AM   #1 (permalink)
kenshi
Registered User
 
kenshi's Avatar
 
Join Date: Jun 2002
Location: Antarctica
Posts: 43
kenshi is on a distinguished road
Send a message via ICQ to kenshi
Trying to use mount()

I'm trying to make a simple front-end for mpg123 for someone that will automatically mount the cd-rom and play all the mp3's on it. This is in unix in case that's not obvious. I'm stuck at the mount part. There are 4 parameters to the function (I think on some systems there are 5) and the first 3 are fairly straight forward, but there's a "data" struct that I can't seem to find much documentation on. The man page for mount() said the information should be in the man page for the corresponding man page for the file system, but there's nothing about it in man mount_cd9660. I've searched at programming sites and at Google and found nothing. I even looked in the source code for the mount command, but it seems to use another undocumented function. Does anyone know what goes into this struct? Thanks.
kenshi is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RedHat 8. newbie Q's Apodysophilia Linux / BSD / OS X 5 09-10-2003 02:39 PM
Red Hat 8.0 Mounting Troubles...[Newbie] DasXel Linux / BSD / OS X 4 02-20-2003 08:36 AM
symbolic links on an NFS mount? Admin Linux / BSD / OS X 1 01-17-2003 06:35 AM


All times are GMT -8. The time now is 08:42 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting