Kolbu

Computers, Gadgets and Beyond!
Subscribe

Mounting CIFS shares on the Mvix

The Mvix does not "mount" its external CIFS shares when it uses them, it just juses SMB commands to fetch the dircetories and files it needs. But if you run a modified firmware with telnet support, you might want to mount the CIFS shares just to copy media onto local storage. So this is how you go about doing that:

First, create the directory where the share should be mounted:

1. Locate a suitable mount point somewhere that the GUI will see. The easiest way of doing this is having an internal disk and creating a directory on that, since the GUI will let you traverse all such disks. Mine is ext3 formatted, so I can do this while logged in.

way:/tmp/ide/part1# df

Filesystem           1k-blocks      Used Available Use% Mounted on

/dev/root                 6986      6986         0 100% /

/dev/ide/host0/bus0/target0/lun0/part1 283855840    215820 268988340   0% /tmp/ide/part1

Create the mount point

way:/tmp/ide/part1# mkdir /tmp/ide/part1/data

 

Verify that it’s been created

way:/tmp/ide/part1# ls /tmp/ide/part1/data

 

 

Then mount the remote CIFS share using the smbmount_client command:

 way:~# smbmount_simple //home/video /tmp/ide/part1/data -o username=guest

Where home is the dns name of my CIFS server, /video is the share name and /tmp/ide/part1/data is a directory/mount point I had created earlier on my internal hard drive. All on one command line, make sure your share name and login information is correct for your setup. You will be prompted for a password, type it in or just hit return if your CIFS setup does not require you to provide one. And then see the result:
 

way:~# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 6986      6986         0 100% /
/dev/ide/host0/bus0/target0/lun0/part1283855840    215820 268988340   0% /tmp/ide/part1
none                 … … …  91% /tmp/ide/part1/data

Leave a Reply

  • Income

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Cloud Nine

  • Current Reading List

    Nation

    Neeeeeeew Praaaaaaaaatchett. It's in the kiddie-series, but they're equally brilliant and I'm sure this one is too.
    Blue War: A Punktown novel (Punktown)

    I've read several books in the same universe now, great stuff. Make sure you start at the beginning though.
    Neuromancer

    I know, I know, should have read it ages ago. I've tried several times but only get to page 50 before it bores me out though. I'll keep trying, honest! :-)