LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fstab and my "device node" (https://www.linuxquestions.org/questions/linux-newbie-8/fstab-and-my-device-node-604294/)

d0nuts 12-03-2007 10:25 PM

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?

Simon Bridge 12-03-2007 10:43 PM

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.

d0nuts 12-04-2007 12:19 AM

Quote:

Originally Posted by Simon Bridge (Post 2979285)
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! :)


All times are GMT -5. The time now is 12:06 PM.