[SOLVED] How did I mount this network drive if it's not in /etc/fstab?
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.
How did I mount this network drive if it's not in /etc/fstab?
I feel like a real n00b for having to ask this, but I'm clueless. I have built a HTPC at the beginning of this year with ubuntu minimal (9.10) and XBMC. In my /home/xbmc directory is a directory called media which directly links to my homeserver containing all movies, music etc. I remeber I preferred this to using Samba shares from XBMC as it was faster and more reliable. I'm pretty sure I set this up with NFS. However, when I look at my /etc/fstab file I see this:
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/htpc-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=4913891b-ec97-4f29-9902-be4b1a66b29b /boot ext2 defaults 0 2
/dev/mapper/htpc-home /home ext4 defaults 0 2
/dev/mapper/htpc-swap_1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
There isn't any mention of this share in this file. As I want to setup a new machines based on Maverick x64 minimal, I try to repeat my steps, but I can't figure this one out. Can anyone give me a hint of how I might have setup this share in my home folder?
To add to my confusion, aptitude search '~i' doesn't actually show nfs-common, so I guess I'm not using nfs for this share. my smb.conf doesn't list any shares either, so I don't think I have used samba either. What else could I have done?
Very good question, as it gives a big clue:
//Zeus/Media on /home/xbmc/media type cifs (rw,mand)
Now I have to lookup what this cifs thing is. Is it a logical choice for a connection (which I believe to be read-only) or would nfs make more sense?
The idea is to have a read-only connection to this share with the least rights for this (insecure) HTPC server as possible while obviously being able to read all files and have a fast and steady connection.
hmm... and looking at info on cifs I still don't get how this mount is auto-mounted without info in fstab :-(