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

Re: changing the mountpoint for CD-ROM|RW , Related Question



On Sun, Jan 02, 2005 at 05:30:58PM +0100, Bram Mertens wrote:
> Hi
> 
> After installing debian sarge (net install) and upgrading to testing my
> CD-ROM and CD-writer were correctly added to /etc/fstab:
> /dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
> /dev/hdd        /media/cdrom1   iso9660 ro,user,noauto  0       0
> 
> However in /media there was only a 'corrupted' symlink /media/cdrom
> to /media/cdrom0. /media/cdrom0 and /media/cdrom1 didn't exist.
> I added these directories manually (as root) so /media/ now looks like:
> m8ram@imladris:~$ ls -lh /media/  
> total 0
> lrwxrwxrwx  1 root root  6 2004-12-17 20:12 cdrom -> cdrom0
> drwxr-xr-x  2 root root 48 2004-12-30 19:35 cdrom0
> drwxr-xr-x  2 root root 48 2004-12-30 19:35 cdrom1
> lrwxrwxrwx  1 root root  7 2004-12-17 20:12 floppy -> floppy0
> drwxr-xr-x  2 root root 48 2004-12-17 20:12 floppy0
> 
> I can mount CD's with mount /media/cdrom but I have to remember to use
> ls -lh /media/cdrom0 to display the CD's contents because ls
> -lh /media/cdrom simply shows:
> m8ram@imladris:~$ ls -lh /media/cdrom
> lrwxrwxrwx  1 root root 6 2004-12-17 20:12 /media/cdrom -> cdrom0
> 
> Is there a reason why I shouldn't remove the symlink /media/cdrom so I
> can edit the dirs in /media to:
> drwxr-xr-x  2 root root 48 2004-12-30 19:35 cdrom
> drwxr-xr-x  2 root root 48 2004-12-30 19:35 cdwriter
> 
> Obviously I would have to edit /etc/fstab to:
> /dev/hdc        /media/cdrom   iso9660 ro,user,noauto  0       0
> /dev/hdd        /media/cdwriter   iso9660 ro,user,noauto  0       0
> 
> Are there apps that look for /media/cdrom(0|1) that would break after
> these changes?
> 
> TIA
> 
> Bram

When I dist-upgraded to Sarge a few months ago, I had a problem
with the /media setup. I "solved" my problem by editing /etc/fstab
to use the old Woody mount points. I don't remember what my 
problem was.

Now I wonder what is the rational for this change? Where can I find a
Debian policy doc. that explains this? and suggestions as to how to
benefit from it? This is not a complaint, just a few questions.

TIA

-- 
Paul E Condon           
pecondon@mesanetworks.net



Reply to: