From owner-freebsd-questions Sun Jan 3 11:16:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26453 for freebsd-questions-outgoing; Sun, 3 Jan 1999 11:16:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from prontomail4.prontomail.com (prontomail4.prontomail.com [209.185.149.104]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26448 for ; Sun, 3 Jan 1999 11:16:29 -0800 (PST) (envelope-from daktaklakpak@prontomail.com) X-Internal-ID: 368A742700003FE4 Received: from dan (195.34.58.195) by prontomail4.prontomail.com (NPlex 2.0.119) for freebsd-questions@FreeBSD.ORG; Sun, 3 Jan 1999 11:15:09 -0800 Message-ID: <000101be374d$2437d1c0$0100a8c0@dan.space_net> From: "Dan Sh." To: Subject: mount & mount_cd9660 help needed! Date: Sun, 3 Jan 1999 22:13:24 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! Please, excuse me my poor English. Here is my problem: First I got FreeBSD v.2.2.6 I need to mount my IDE CD-ROM, so I give a command: # mount /cdrom or # mount -t cd9660 /dev/wcd0c /cdrom or the same with mount_cd9660 (except of option -t of course) And every try I get an answer: (mount_)cd9660: /dev/wcd0c: Invalid argument After this I cut some code from sysinstall (where it mounts CD) and compile my little program. It uses system call mount(2) with same arguments /dev/wcd0c and /cdrom - and it worked! And finally, I got v2.2.8 source and built it (P75, 32M, 7 hours) and tried to mount CD with all the same system tools (mount and mount_cd9660 - the result was the same : Invalid argument). Terrible, but my little program now did not work (and sysinstal also do not mount CD-ROM) - mount(2) returns error condition (EINVAL). Please help me if you can with these 'Invalid argument' Thank you! Dan Shebunin P.S. Please answer to daktaklakpak@prontomail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message