You are not logged in.

#1 2006-05-11 16:28:54

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

cdrom access with commands

my older linux ersion wase and  called debian Sarge and i can access my cdrom with

cd /media/cdromo/ 

but under Arch when i typed this command console gives me

no such directory

how can i access cdrom with commands?


In a world without walls,who need windows?

Offline

#2 2006-05-11 17:07:36

gizmo
Member
From: Norway
Registered: 2006-02-22
Posts: 27

Re: cdrom access with commands

I suggest you try AutoFS, a daemon that automatically mount and umount your devices on demand, without typing any commands. Look at this WIKI.. http://wiki.archlinux.org/index.php/AutoFS_HowTo

If this is to complicated or just not what you want, you can simply do it manually:
1. mkdir /mnt/cdrom
    (make a directory to mount your cd-drive. this is just an example, you can make a directory wherever you want)
2. mount -t auto /dev/hdd /mnt/cdrom
    (mount your cd-drive, in this example /dev/hdd, to /mnt/cdrom with "auto" filesystem)
3. umount /dev/hdd
     (umount when done..)

You can also add your cdrom to /etc/fstab like this:
/dev/hdd /mnt/cdrom auto ro,user,noauto,unhide 0 0

Offline

#3 2006-05-11 17:28:03

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

Re: cdrom access with commands

thanks for your recomandatiton


In a world without walls,who need windows?

Offline

Board footer

Powered by FluxBB