From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OmYZY-0006A8-Dq for garchives@archives.gentoo.org; Fri, 20 Aug 2010 20:52:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03E10E076B; Fri, 20 Aug 2010 20:51:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B61DDE076B for ; Fri, 20 Aug 2010 20:51:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5C6EC1B4007 for ; Fri, 20 Aug 2010 20:51:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.911 X-Spam-Level: X-Spam-Status: No, score=-2.911 required=5.5 tests=[AWL=-0.312, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bt9K7n8oQ3-p for ; Fri, 20 Aug 2010 20:51:14 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id A787B1B4010 for ; Fri, 20 Aug 2010 20:51:12 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OmYYN-0005B7-NV for gentoo-user@gentoo.org; Fri, 20 Aug 2010 22:51:07 +0200 Received: from adsl-69-234-186-49.dsl.irvnca.pacbell.net ([69.234.186.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Aug 2010 22:51:07 +0200 Received: from w41ter by adsl-69-234-186-49.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Aug 2010 22:51:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: DVD borked: SysFS removed Date: Fri, 20 Aug 2010 13:50:51 -0700 Message-ID: References: <4C695750.8050800@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-186-49.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b5pre) Gecko/20100820 Shredder/3.2a1pre In-Reply-To: X-Archives-Salt: 66fbfc0d-1c13-4e4f-aba4-655aafa99463 X-Archives-Hash: 75264352212fd310be097cfeb7798c40 On 08/20/2010 11:33 AM, James wrote: > walt gmail.com> writes: >> $ls -l /dev/dvd >> lrwxrwxrwx 1 root root 3 2010-08-17 04:46 /dev/dvd -> sr0 > > I get: ls: cannot access /dev/dvd: No such file or directory I forgot an important detail. Your device drivers have changed, so your disks will now show up as different devices. However, your old devices still appear in /etc/udev/rules.d/70-persistent-cd.rules, and that causes confusion. The right way to fix it is to delete that file and let udev recreate it during the next boot. > >> I didn't do anything to cause that. udev took care of it without my help, >> and everything Just Worked. > >> Well, not quite true. I did change my /etc/fstab, but I'm now using disk >> labels in fstab instead of device names. If you still use device names >> you'll need to change /dev/hd* to /dev/sd* in fstab when using the new >> disk drivers. > > my current fstab looks like this: > /dev/cdrom /mnt/cdrom auto noauto,rw,user 0 0 > > Can you send me a snippet out of your fstab on setting up (2) > dvds on one system? I don't have any machines with two dvds, but if you delete the file I mentioned above, you should start to see device names that make sense the next time you reboot. Start with that and see what happens. > Disk labels sound cool. Maybe a good doc > explaining these intricacies? Look at man mount and look for "The device indication" section. For example: LABEL=root / ext3 noatime,nodiratime,defaults 0 1 LABEL=home /home ext3 noatime,nodiratime,defaults 0 1 I labeled those two partitions with the names 'root' and 'home' using e2label, though it might be less confusing if I had used upper case letters instead. You can pick any label you want, of course.