From owner-freebsd-amd64@FreeBSD.ORG Thu Oct 6 11:55:04 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED67016A41F; Thu, 6 Oct 2005 11:55:04 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from yggdrasil.interstroom.nl (yggdrasil.interstroom.nl [80.85.129.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 566BD43D48; Thu, 6 Oct 2005 11:55:04 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from ip127-182.introweb.nl ([80.65.127.182] helo=[192.168.1.42]) by yggdrasil with asmtp (Exim 3.35 #1 (Debian)) id 1ENUKo-0007dM-00; Thu, 06 Oct 2005 13:54:50 +0200 Message-ID: <43451088.503@axis.nl> Date: Thu, 06 Oct 2005 13:54:48 +0200 From: Olaf Greve User-Agent: Mozilla Thunderbird 1.0.6-1.4.1.centos4 (X11/20050721) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@freebsd.org, freebsd-questions@freebsd.org References: <4a40ab2e0a11940a5340a.20051005200648.wzyrjvf@www.dslextreme.com> <57416b300510052221h6eb2cf0bma7b74d37da89287b@mail.gmail.com> In-Reply-To: <57416b300510052221h6eb2cf0bma7b74d37da89287b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Interstroom virusscan, please e-mail helpdesk@interstroom.nl for more information X-MailScanner-SpamCheck: Cc: Subject: How to properly mount a DVD-R/W drive and how to use it from the command line? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 11:55:05 -0000 Hi, This'll surely be a really novice question, but I'd like to get it right in one go, and RTFM-ing using Google somehow didn't produce uniform enough results for my likings. :) The situation: I just installed FreeBSD 5.4-Release AMD64 on my new machine (though the question is most likely not specific to the AMD64 version, I guess), and upon installation time the machine had a DVD-ROM / CD-RW drive. Yesterday I received a new drive, being a DVD-RW drive, and I replaced the previous one with the new one. O.k., no problem so far, and the BIOS seems to properly identify the drive. When booting the machine, the drive is -I think- identified as "DVDW" as /dev/acd0, and the mountpoint it (re!)uses is /cdrom. Now, this is where the issue lies. When putting a CD-ROM in the drive, and trying to access it through the /cdrom mountpoint I get an empty directory listing (not correct) and when manually trying to do the following: mount /dev/acd0 /cdrom I get the error (on all CD-ROMs): mount: /dev/acd0 on /cdrom: incorrect super block Now, the entry in /etc/fstab for this device is set to: /dev/acd0 /cdrom cd9660 ro,noauto 0 0 Which is fine for a CD-ROM drive. However: what should the proper settings be for a DVD-RW drive? Surely at least the 'ro' flag is incorrect, but is that all? Also: are there other locations where I should tell FBSD (and if so: how) about the presence of the new drive? Finally: I do not intent to run X on the machine, as it'll be a webserver only (well, incl. DB stuff etc.), and the drive is intended for being used to make remote back-ups on DVD-RW (yes: someone will physically swap the DVDs when necessary ;) ). What I'd like to know is what the easiest/best ways are to do so from the command-line. Does anyone have some scripts for this? Or perhaps some pointers to a good (preferrably free) program or tutorial? As always: thanks in advance for your time, and your answers. :) Cheers, Olafo