You are not logged in.

#1 2011-09-19 16:41:55

ashlee84
Member
Registered: 2011-09-19
Posts: 8

Confusion over removable drive mounts? [Solved]

I've installed Arch with the XFCE DE and i'm more then pleased with it! :-D

However, i'm baffled by where my mounts are located? I have nothing in /mnt/ or /media/, which is where i would usually start looking for my removable drives.

I followed the 'beginners guide' to the letter, i'm assuming things have changed somewhat.

#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
# create optical drive symlinks
ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/cdrw
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr0 /dev/dvdrw

This is the section that is new to me, i'm just trying to find out where i can navigate to in the CLI to my removable media?

I have managed to get XFCE to mount everything after following the XFCE wiki.

Last edited by ashlee84 (2011-09-19 17:15:39)

Offline

#2 2011-09-19 16:48:10

ashlee84
Member
Registered: 2011-09-19
Posts: 8

Re: Confusion over removable drive mounts? [Solved]

EDIT:

My USB Backup drive does in fact show up in /media/ i should of checked first.

So it's just the location of my optical drive i need help with.

Offline

#3 2011-09-19 16:55:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Confusion over removable drive mounts? [Solved]

Arch specific cd symlinks are now no longer created.
On 2011-05-19 udev 169-1 removed cdsymlinks.sh (among other things)
http://projects.archlinux.org/svntogit/ … 60ccd3d56e

You need to mount your optical discs somewhere (unless they're AudioCds or blank discs) so you go to the mounpoint of your choice. The symlinks allow you to use other device names, not just /dev/sr0, e.g. both

mount -o ro /dev/sr0 /media/cd
mount -o ro /dev/cdrom /media/cd

should work. Now just

cd /media/cd/

Last edited by karol (2011-09-19 16:57:48)

Offline

#4 2011-09-19 17:05:44

ashlee84
Member
Registered: 2011-09-19
Posts: 8

Re: Confusion over removable drive mounts? [Solved]

Thanks for the quick reply.

However i tryed the above but no joy. I just get the following.

mount: mount point /media/cd does not exist

Offline

#5 2011-09-19 17:09:15

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Confusion over removable drive mounts? [Solved]

If you're mounting manually, you also need to create the mountpoints manually beforehand. The reason those mountpoints aren't there anymore is that most people nowadays use a media manager (in the past it was HAL, now it's udisks) for removable media. And those managers create mountpoints as needed on-the-fly, and then remove them when you remove the media.

Offline

#6 2011-09-19 17:15:17

ashlee84
Member
Registered: 2011-09-19
Posts: 8

Re: Confusion over removable drive mounts? [Solved]

Ah!

Now i get it. Thank You.

Offline

#7 2011-09-19 17:15:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Confusion over removable drive mounts? [Solved]

Run

mkdir /media/cd

as root and try again.

Offline

Board footer

Powered by FluxBB