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

Re: /cdrom vs. /media/cdrom



Em Thu, 22 Jul 2004 11:50:08 +0200, Frank Uepping escreveu:

> on Sarge there are many duplicating mount points for peripherals,
> like: 
>         /cdrom
>         /cdrom0
>         /floppy
>         /media/cdrom
>         /media/cdrom0
>         /media/floppy
>         etc.
> 
> Why are the duplicates?

	Actually they are not duplicates…

	For some reason things are mounted on (/media)/cdrom0, and
(/media)/cdrom is a symlink to it.

	I suppose the idea is that one can have (/media)/cdrom[0-9]
and choose a default by changing the symlink, but I never had more
than a CD drive to check it.


> What is the preferred mount point / or /media for peripherals?

	Depends on whom prefers what for whichever reason…

	Seriously, / was never a standard, but it was Debian’s
practice, and and still is at least in stable.

	/media is the LSB standard, and should be configured in all
new systems starting from current sarge.

	The detail is that there are lots of programs still looking
for, and even creating, aberrations like /cdrom.  One notorious
culprit I still have to force into compliance by /etc editing is
discover(2).


> Is there any document about this issue?

	Yes, the latest LSB.


-- 
Leandro Guimarães Faria Corsetti Dutra     +55 (44) 3028 7467 ext34
Rua Guarani 361 ap 601 – Z4                    +55 (44) 3025 6253
87.014-040  Maringá, PR                   leandro@dutra.fastmail.fm
BRAZIL                           http://br.geocities.com./lgcdutra/



Reply to: