Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a linux box connetted t oa few other computers...and i dont have the space to store all the music they share. so i have to mount the drives they have shared in order to play em...its get annoying haing to do this after each reboot.
from what i have read i need to edit fstab in /etc
so i open that file up. but im not sure what i sould type
fstab looks like this:
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
so at everyboot up i open up a terminal and enter this:
smbmount //gtp/Music /root/.gnome-desktop/Music
Depending on your distro, for example in Slackware, there is a file called rc.local, in there i just have:
as listed above and it works.
The rc.local file is the last script to run on a slackware boot up before login.
yeah its in /etc what do i do with it?
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
mount //gtp/Music <<<<line i added
is that it?
Last edited by Dr Gutiemouth; 10-26-2004 at 03:26 PM.
I think this will work. Look in man mount and man fstab and man smbmount for more details and options. Mount it someplace else however, like /windows/music or /mnt/windows/music. And please don't log in as root. Su to root from inside a terminal, or even better, for one liners use sudo.
Also consider using uid=, gid=, and umask= options.
This may not be the best way to go anyway, because the userid and password are in your fstab file.
i got it to work but i dont remember how...and there was two icons on my desktop when i finally got it to work...oh well...i since nuked the drive and put gentoo on it...now if only i can get it to work