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

  • Hit me

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Default test

    • CNN analyst: Barr's decision won't impact potential impeachment
      CNN legal analyst Elie Honig says Attorney General William Barr's decision not to charge President Donald Trump with obstruction does not make the President immune from impeachment by Congress.
    • European election results come in
      Europe's voters have spoken, but not with a single voice. In what is set to be one of the highest turnouts ever in European elections, the only clear message for Brussels is that Europe must reform if it is to survive. CNN's Hala Gorani reports.
    • Trump: We've made progress on a lot of subjects
      After a day of casual diplomatic male bonding, President Donald Trump entered the more stately portion of his visit to Japan, honoring the country's newly enthroned Emperor and sitting for trade- and security-focused talks with Prime Minister Shinzo Abe.
    • CNN analyst: Barr's decision won't impact potential impeachment
      CNN legal analyst Elie Honig says Attorney General William Barr's decision not to charge President Donald Trump with obstruction does not make the President immune from impeachment by Congress.
    • CNN analyst: Kim Jong Un acting like Trump's surrogate
      North Korean state media launched a stinging attack on the former United States vice president and current presidential candidate, Joe Biden, mocking him as a "fool of low IQ."