LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2007, 10:25 PM   #1
d0nuts
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
fstab and my "device node"


TRying to install a game with wine and I need a symlink to my cd drive. The guide I'm following says this:

It helps to add a device node symlink, so do the following. If your cd-rom drive letter in winecfg is d: and the corresponding device node to your mount point is /dev/hdc then run the following command:
$ ln -s /dev/hdc ~/.wine/dosdevices/d\:\:
Note, you *must* have two colons! You can tell what your device node is in /etc/fstab or viewing your boot-log.

My drive letter in wine is D and I opened fstab but I don't know what I'm looking for. here is my fstab:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sdb1
UUID=741f7f78-d183-4d5a-9561-222e3df40763 /               ext3    defaults,errors=remount-ro 0       1
# /dev/sdb5
UUID=ed604c2b-e206-4a21-9710-973a9fac6cd7 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
What should I be looking at?
 
Old 12-03-2007, 10:43 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
winecfg has a GUI for setting up your virtual drives. The howto you are following must be quite old.

The cdrom line in your fstab is the one with "cdrom" in it:
Code:
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
so the device file is /dev/scd0
so the advice is to do:

$ ln -s /dev/scd0 ~/.wine/dosdevices/d\:\:

provided that ~/.wine/dosdevices/ exists.
 
Old 12-04-2007, 12:19 AM   #3
d0nuts
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge View Post
winecfg has a GUI for setting up your virtual drives. The howto you are following must be quite old.

The cdrom line in your fstab is the one with "cdrom" in it:
Code:
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
so the device file is /dev/scd0
so the advice is to do:

$ ln -s /dev/scd0 ~/.wine/dosdevices/d\:\:

provided that ~/.wine/dosdevices/ exists.
Thank you very much!
 
  


Reply

Tags
device, fstab



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit "read-only" /etc/fstab from "System Recovery#" (without boot cd?) charlweed Linux - General 1 12-31-2006 05:57 PM
"the device node /dev/hda6 for the root filsystem is missing" after a sudden halt braungiobi Linux - General 0 05-09-2006 02:53 PM
"block device /dev/sda2 is write-protected, mounting read-only" - fstab problem blanks77 Linux - Hardware 1 04-28-2006 06:09 PM
Will /etc/fstab device "lines" from Mandrake work in Debian? gpfromnc Debian 12 04-27-2006 03:13 PM
"unable to find device node for /dev/x in /dev!" during install zombiedeth *BSD 0 02-02-2004 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration