From owner-freebsd-questions Tue Oct 22 3:52:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD9F637B401 for ; Tue, 22 Oct 2002 03:52:47 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 774F443E42 for ; Tue, 22 Oct 2002 03:52:46 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g9MAqcKf008700; Tue, 22 Oct 2002 11:52:38 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g9MAqXA7008699; Tue, 22 Oct 2002 11:52:33 +0100 (BST) Date: Tue, 22 Oct 2002 11:52:33 +0100 From: Matthew Seaman To: Tiago Andre Cc: questions@FreeBSD.ORG Subject: Mounting CDRom Message-ID: <20021022105233.GA8520@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , Tiago Andre , questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-9.9 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 22, 2002 at 10:30:08AM +0000, Tiago Andre wrote: > I trye the command: > mount /dev/cdrom /mnt/cdrom -t iso9660 > and > mount /dev/cd0c /mnt/cdrom -t iso9660 > but it doesint work. my freebsd is the 4.7 version Make that: mount -t cd9660 /dev/cd0c /mnt/cdrom --- the mount options ( -t cd9660, etc) come before the device name and the mount point. --- the filesystem type for ISO9660 CDs is 'cd9660' -- see the mount_cd9660(8) man page [Saying 'mount -t cd9660' is equivalent to 'mount_cd9660'. Use whichever pleases you.] --- make sure that the /mnt/cdrom directory exists before you run the mount command. It should be empty, because you'll be unable to access the contents when you mount the CD over it. Note also that /dev/cd0c is a SCSI CDRom (see cd(4)). The correct device for an ATAPI CDRom would be /dev/acd0c (see acd(4)). If you're unsure which of those devices you have, check /var/run/dmesg which will have a record of any CDRom devices found by the kernel at the last reboot. There's no such entity as /dev/cdrom by default on FreeBSD. You may find it convenient to create a symbolic link /dev/cdrom -> cd0c Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message