How did I mount this network drive if it's not in /etc/fstab?
Hi all,
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? Edit: 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? |
What's the actual mount line pertaining to the share?
|
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. edit: hmm... and looking at info on cifs I still don't get how this mount is auto-mounted without info in fstab :-( |
As you probably have found from googling cifs is the filesystem type for samba shares. You probably have some init or startup script that mounts the share.
|
I found it in the end in my /etc/rc.local file. Thank you all for your help. I think for my new setup I will use NFS though combined with autofs.
|
All times are GMT -5. The time now is 09:49 AM. |