You are not logged in.

#1 2007-10-01 02:41:57

fede
Member
Registered: 2007-06-29
Posts: 126

Define HAL mountpoint for CDs / DVDs

Hello,

I would like to define a fixed mountpoint for my DVD ram, using hal to automount. I'm using gnome and currently the drive automounts fine, but the mount point defaults to /media/[volume_label]. I would like CDs and dvds to always mount in a fixed position, this is mainly because I want to use a Cd / dvd cataloguing app, which requires me to input the media mountpoint to add a cd to the collection. Having this value fixed would simplify the process...

I've seen on the hal wiki instructions to fix the mountpoint for an ipod (http://wiki.archlinux.org/index.php/HAL … mountpoint) ; I'm looking for something similar for my DVD drive.

Thanks!

Offline

#2 2007-10-01 06:01:28

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: Define HAL mountpoint for CDs / DVDs

I believe adding a line to /etc/fstab should work, at least it works for me

Offline

#3 2007-10-01 07:38:52

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,971

Re: Define HAL mountpoint for CDs / DVDs

That does work, but keep in mind that running copy-protected apps in Wine/Cedega won't work with fixed paths for cd/dvd .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2007-10-03 04:48:51

fede
Member
Registered: 2007-06-29
Posts: 126

Re: Define HAL mountpoint for CDs / DVDs

Thanks for the replies. Still, it doesn't seem to work for me. Below is my fstab; dvds still mount to a directory under /media named after their volume label.

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /media/dvd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   udf   ro,user,noauto,unhide   0      0
#/dev/fd0 /mnt/fd0   vfat   user,noauto   0      0
/dev/sda1 /media/windows ntfs-3g defaults,gid=100,uid=1000 0 2
/dev/sda2 / ext3 defaults 0 1
/dev/sda3 /media/sda3 vfat defaults 0 2
/dev/sda5 /media/datos ext3 defaults 0 1
/dev/sda6 swap swap defaults 0 0
/dev/sda7 /boot ext3 defaults 0 1

Offline

Board footer

Powered by FluxBB