SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For me, this entry in /etc/fstab mounts my Windows partition. You may need to alter it to /dev/hdb1 or wherever windows is on your system. Also, it's Windows XP for me, hence it's of type ntfs. It could be type vfat if you have an older flavour of Windows.
If it doesn't exist, give your linux systen a mount point for your windows drive:
mkdir /Windows (call it what you like, Win would be just as good)
you can use konqueror or any filemanager to create this is if you want, put it in the root of your filesystem along with bin, boot, dev, etc)
then follow Andrew's instructions. add 'user' to this line as well, then you can access this dir as a user (assuming it has the right permissions) if it is vfat then you dont need ro, as you can safely write to it as well.
type 'man mount' (without quotes) into a console for more info, (or read 'the book' on the Slackware site)
I think that to eject it you need to first
umount /dev/cdrom
or
umount /mnt/cdrom
I think you'll find that /dev/cdrom is a symbolic link pointing at /dev/hdc and that your other CD/DVD is there as /dev/hdd . If so, try a similar fstab entry. I don't use CD's much so on the rare occasions when I do use them the command (issued as root)
mount /dev/hdc /home/andy/tmp
works fine. If you use the CD's a lot you may consider applying the supermount patch http://supermount-ng.sourceforge.net/ and recompiling your kernel, then you don't need to use the mount command at all, just click on the icon on your desktop. I use it for floppy disks and various USB things (camera, mp3 and USB hard drive- they all get mounted automagically at /mnt/mp3).
With a standard Slackware installation, removable drives are not mounted at boot.
One reason for this is that you may choose to put an audio cd in the drive, and in
this case you do not mount the cd before accessing it.
So the usual way (assuming you are using a Window Manager such as kde or gnome)
is to have an icon on your desktop to mount and unmount for you.
If this is what you want, then right click on the desktop and create new>device>cdrom or whatever, and go from there.
If you are doing it from the command line, then you will mount and umount:
[u]mount /mnt/cdrom is all you need if the entry exists in fstab.
There are ways to automount at boot, but there is more work required to do this.
Some distros such as Mandrake enable this for you I think, but Slackware makes you
work a little harder, the end result being that you get to understand your linux
system a little better!
edit: Sorry Andrew, did not see you already replied to this...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.