CDs mount to volume name
John Summerfied
debian at herakles.homelinux.org
Fri Feb 10 12:33:51 UTC 2006
dragoran wrote:
> alan wrote:
>
>> On Thu, 9 Feb 2006, John Summerfied wrote:
>>
>>
>>
>>> dragoran wrote:
>>>
>>>
>>>
>>>> what about adding a symlink from /media/cdrom to /media/volumename ?
>>>> wouldn't break old apps, and thus ho preffer the new behaviour can
>>>> use it.
>>>>
>>>>
>>>
>>> What problem does the new behaviour solve?
>>>
>>
>>
>> None that I can see. Nautilus already puts desciptive text on the icon
>> that a gui user would use. A command line user will use tab
>> completion and trial and error to figure out where the data is at.
>> Legacy programs understand a fixed point in the filesystem.
If the new behaviour does not solve any problem then there is no
justification for it.
>>
>> Except this symlink would need to be added by the automounter code, as
>> it will have to be created and destroyed by mounts and unmounts.
What problem does a symlink solve?
>>
>> The problem here is not gui v.s. command line. The problem is user
>> v.s. program.
No it's not just that.
I, a user, would be well-pleased to be able to insert a CD and mount it
_myself_ at /media/cdrom.
No automount. No dynamically-created mount points depending on what the
volume label says. Not even different mount points depending on wheter
it's a -ROM drive or a -writer drive or whether I insert a CD or DVD.
No symlinks either; different names for the same thing only get in the way.
My laptop has a DVD writer in it, and is running SUSE 10. Suse creates
/media/cdrom
/media/dvdrom
/media/cdwriter
/media/dvdwriter
and when there's a mounted CD/DVD
/media/<volume>
All but one are symlinks. All this proliferation of names does is bugger
up tab-completion, which I try to use extensively.
>>
>> A user can figure out (hopefully) where the drive mounted. A program
>> is going to have to have some sort of defined method to find out where
>> the cdrom is at. (Not to mention the security implications of
>> trusting a symlink as a mounted drive. Any sane program would not
>> open a symlink for any removable media.)
>>
>>
> then use the old mount points and add a link /media/volume -> /media/cdromX
> Those how prefer /media/volume would not care if it is a symlink or not.
But /media/volume doesn't solve any problem, does it?
> A desktop user would either click on the desktop icon or on the icon in
> computer:/// so they don't have to care about mount points anyway.
Exactly.
> So where is the point in having /media/volume ? It makes more problems
> than it solves (if any)
>
--
Cheers
John
-- spambait
1aaaaaaa at computerdatasafe.com.au Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
More information about the test
mailing list