LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   CD-Rom configuration: /etc/slackpkg/mirrors vs. /etc/fstab (http://www.linuxquestions.org/questions/slackware-14/cd-rom-configuration-etc-slackpkg-mirrors-vs-etc-fstab-4175436511/)

kikinovak 11-10-2012 12:07 AM

CD-Rom configuration: /etc/slackpkg/mirrors vs. /etc/fstab
 
Hi,

Just a small suggestion for the slackpkg maintainers. The default /etc/slackpkg/mirrors has an entry for the local CD/DVD drive:

Code:

#----------------------------------------------------------------
# Local CD/DVD drive
#----------------------------------------------------------------
# cdrom://media/cdrom/

On the other hand, here's what the default /etc/fstab entry for the CD looks like:

Code:

#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show0 0
Suggestion for a tiny improvement: harmonize these mount points.

Cheers,

Niki

xeleema 11-10-2012 05:18 AM

Greetingz!

The /media/cdrom path is used by the automounter when a CD is inserted. The /etc/vfstab entry is manual mounting (a "mount /mnt/cdrom").
Don't be swayed by the 'auto' in the /etc/fstab, that's the filesystem-type, not 'when-to-mount'.

kikinovak 11-10-2012 06:48 AM

Quote:

Originally Posted by xeleema (Post 4826402)
Greetingz!

The /media/cdrom path is used by the automounter when a CD is inserted. The /etc/vfstab entry is manual mounting (a "mount /mnt/cdrom").
Don't be swayed by the 'auto' in the /etc/fstab, that's the filesystem-type, not 'when-to-mount'.

Well, not anymore, at least not since 14.0. The automounter now uses /run/something, and /media is unused. Looks like some developer thought again that perennity is overvalued.

xeleema 11-24-2012 07:07 AM

Quote:

Originally Posted by kikinovak (Post 4826449)
Well, not anymore, at least not since 14.0. The automounter now uses /run/something, and /media is unused. Looks like some developer thought again that perennity is overvalued.

I picked up version 14 last month, still waiting for the server to come in. But now I'm curious.
I'll have to play with 14 and see what else has changed....

onebuck 11-24-2012 09:09 AM

Member Response
 
Hi,
Quote:

Originally Posted by kikinovak (Post 4826279)
Hi,

Just a small suggestion for the slackpkg maintainers. The default /etc/slackpkg/mirrors has an entry for the local CD/DVD drive:

Code:

#----------------------------------------------------------------
# Local CD/DVD drive
#----------------------------------------------------------------
# cdrom://media/cdrom/

On the other hand, here's what the default /etc/fstab entry for the CD looks like:

Code:

#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show0 0
Suggestion for a tiny improvement: harmonize these mount points.

Cheers,

Niki

That line in '/etc/fstab' is commented out at install, if a user wishes to use the configuration then remove comment. So no use unless someone modifies that line.


All times are GMT -5. The time now is 09:25 AM.