[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706562: release-notes: wheezy's apt-cdrom doesn't insist on /cdrom as mount point



Package: release-notes
Followup-For: Bug #706562

I thought this bugreport from the Wheezy release-notes had been dealt
with, but it's a good thing I doublechecked upgrading.dbk.  My points
#2 and #3 (references to /dev/hdc and lack of reference to Blu-Ray)
are done, but #1 (references to /cdrom instead of /media/cdrom) was
deferred until Jessie, since Wheezy users might still have been using
the Squeeze apt-cdrom.

>  <para>
>  Make sure there is a line in <filename>/etc/fstab</filename> that enables
> -mounting your CD-ROM drive at the <filename>/cdrom</filename> mount point (the
> -exact <filename>/cdrom</filename> mount point is required for
> -<command>apt-cdrom</command>).  For example, if <filename>/dev/scd0</filename>
> +mounting your CD-ROM drive at the <filename>/media/cdrom</filename>
> +mount point.  For example, if <filename>/dev/sr0</filename>
>  is your CD-ROM drive, <filename>/etc/fstab</filename> should contain a line
>  like:
>  </para>

#611569 seems to say that users can now leave it to apt-cdrom to get
the right mountpoint name from /etc/fstab, which would mean that all
we'd need to do here is tell them to make sure it has an fstab entry.
However, when I set up a /media/optical0 and try that, apt-cdrom
insists on wanting /media/cdrom instead, so we probably still need to
make more of a fuss about the precise path.

Another minor tweak: as far as I can tell current udev will never name
a device /dev/scd0, only /dev/sr0.

The rest of it is just search-and-replace for sr0 and /media.
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
Index: upgrading.dbk
===================================================================
--- upgrading.dbk	(revision 10757)
+++ upgrading.dbk	(working copy)
@@ -549,14 +549,13 @@
 </para>
 <para>
 Make sure there is a line in <filename>/etc/fstab</filename> that enables
-mounting your CD-ROM drive at the <filename>/cdrom</filename> mount point (the
-exact <filename>/cdrom</filename> mount point is required for
-<command>apt-cdrom</command>).  For example, if <filename>/dev/scd0</filename>
+mounting your CD-ROM drive at the <filename>/media/cdrom</filename>
+mount point.  For example, if <filename>/dev/sr0</filename>
 is your CD-ROM drive, <filename>/etc/fstab</filename> should contain a line
 like:
 </para>
 <programlisting>
-/dev/scd0 /cdrom auto noauto,ro 0 0
+/dev/sr0 /media/cdrom auto noauto,ro 0 0
 </programlisting>
 <para>
 Note that there must be <emphasis>no spaces</emphasis> between the words
@@ -566,9 +565,9 @@
 To verify it works, insert a CD and try running
 </para>
 <screen>
-# mount /cdrom    # this will mount the CD to the mount point
-# ls -alF /cdrom  # this should show the CD's root directory
-# umount /cdrom   # this will unmount the CD
+# mount /media/cdrom    # this will mount the CD to the mount point
+# ls -alF /media/cdrom  # this should show the CD's root directory
+# umount /media/cdrom   # this will unmount the CD
 </screen>
 <para>
 Next, run:

Reply to: