Mount Freenas Share in OpenSuse
Ok, this is for my own benefit as I continually forget the linux way of doing things. I'm pretty sure that should my employer move everyone over to Linux we would have a cost saving initiative that actually works and I wouldn't get opportunity to forget this kind of thing.
Reason I need to do this is I hate ITunes. Period. It has to be the worst music management program out there. Always been terrible, always will be. So to add the new Airborne Toxic Event album to my pod I need something linux. Enter gtkpod. Seems to be capable of all I would want i.e. to transfer songs to what is basically a usb drive with a skirt on. Anyway, the interface is intuitive and fast. I recommend it. There is plenty info out there to inform those with no intuition how to use it. For me, back to the bit I always forget - mounting my freenas cifs/samba share on the laptop. Well here is the command, don't forget again you muppet!
And yes, I know you can make the mount permanent by editing fstab. As I use kde, from the command line:
Then add the following line to the end of fstab file that pops up, remember to leave a newline at the end of the file,some say this is the best way to ensure the end of file is met with a CR, maybe it is, maybe it isn't but a newline never hurt anyone so I do it :
There, permanent. Oh yeah, and I allocate the freenas system a fixed IP from the router so that the world keeps spinning. Dynamic allocation of the IP was proving a royal pain in the ass as far as the network mapping of drives was concerned.
Reason I need to do this is I hate ITunes. Period. It has to be the worst music management program out there. Always been terrible, always will be. So to add the new Airborne Toxic Event album to my pod I need something linux. Enter gtkpod. Seems to be capable of all I would want i.e. to transfer songs to what is basically a usb drive with a skirt on. Anyway, the interface is intuitive and fast. I recommend it. There is plenty info out there to inform those with no intuition how to use it. For me, back to the bit I always forget - mounting my freenas cifs/samba share on the laptop. Well here is the command, don't forget again you muppet!
> sudo mount -t cifs -o
guest //192.168.1.102/xcoldnas /mnt/dir
And yes, I know you can make the mount permanent by editing fstab. As I use kde, from the command line:
> kdesu kwrite /etc/fstab
Then add the following line to the end of fstab file that pops up, remember to leave a newline at the end of the file,some say this is the best way to ensure the end of file is met with a CR, maybe it is, maybe it isn't but a newline never hurt anyone so I do it :
...
//192.168.1.102/xcoldnas /mnt/dir cifs guest,_netdev 0 0
There, permanent. Oh yeah, and I allocate the freenas system a fixed IP from the router so that the world keeps spinning. Dynamic allocation of the IP was proving a royal pain in the ass as far as the network mapping of drives was concerned.