From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: DVD borked: SysFS removed
Date: Fri, 20 Aug 2010 13:50:51 -0700 [thread overview]
Message-ID: <i4mpre$vcl$1@dough.gmane.org> (raw)
In-Reply-To: <loom.20100820T201419-123@post.gmane.org>
On 08/20/2010 11:33 AM, James wrote:
> walt<w41ter<at> 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.
next prev parent reply other threads:[~2010-08-20 20:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-12 2:37 [gentoo-user] DVD borked: SysFS removed James
2010-08-12 13:20 ` Stroller
2010-08-15 18:14 ` [gentoo-user] " James
2010-08-15 23:15 ` Stroller
2010-08-16 4:07 ` James
2010-08-16 15:20 ` Bill Longman
2010-08-17 0:13 ` James
2010-08-17 23:38 ` walt
2010-08-18 14:34 ` Bill Longman
2010-08-20 18:33 ` James
2010-08-20 20:50 ` walt [this message]
2010-08-12 14:06 ` [gentoo-user] " Bill Longman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='i4mpre$vcl$1@dough.gmane.org' \
--to=w41ter@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox