NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

vaprasad's avatar
vaprasad
Aspirant
Jun 08, 2017

Transcoding FLAC: mp3fs on 6.7.4 -- can't mount mp3fs from fstab anymore, only via mp3fs command

There was an old thread on installing mp3fs on OS 4 which involved installing from source.  I've been able to install mp3fs it successfully on OS 6.0-6.6.1 using apt-get, but this 6.7.4 stuff is a little more troubling.

 

Enabled SSH.  Went in and installed mp3fs.

root@mydevice:~# apt-get install mp3fs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libflac++6 libfuse2
Suggested packages:
  fuse
The following NEW packages will be installed:
  libflac++6 libfuse2 mp3fs
0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 191 kB of archives.
After this operation, 606 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.kernel.org/debian jessie/main amd64 libflac++6 amd64 1.3.0-3 [32.5 kB]
Get:2 http://mirrors.kernel.org/debian jessie/main amd64 libfuse2 amd64 2.9.3-15+deb8u2 [135 kB]
Get:3 http://mirrors.kernel.org/debian jessie/main amd64 mp3fs amd64 0.91-1 [24.3 kB]
Fetched 191 kB in 0s (1,345 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libflac++6:amd64.
(Reading database ... 13342 files and directories currently installed.)
Preparing to unpack .../libflac++6_1.3.0-3_amd64.deb ...
Unpacking libflac++6:amd64 (1.3.0-3) ...
Selecting previously unselected package libfuse2:amd64.
Preparing to unpack .../libfuse2_2.9.3-15+deb8u2_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.3-15+deb8u2) ...
Selecting previously unselected package mp3fs.
Preparing to unpack .../mp3fs_0.91-1_amd64.deb ...
Unpacking mp3fs (0.91-1) ...
Setting up libflac++6:amd64 (1.3.0-3) ...
Setting up libfuse2:amd64 (2.9.3-15+deb8u2) ...
Setting up mp3fs (0.91-1) ...
Processing triggers for libc-bin (2.19-18+deb8u9.netgear1) ...

After that, I modified the fstab to include the mp3fs mountpoint I'd setup:

mp3fs#/data/Music/FLAC/ /data/mp3fs fuse allow_other,ro,bitrate=192 0 0

This worked flawlessly in OS 4 and the earlier OS 6 versions.  A simple "mount -a" or a reboot and the filesystem was mounted without problem.  Under OS 6.7.4, if I try a "mount -a" I receive the following:

root@mydevice:/data# mount -a
mount: wrong fs type, bad option, bad superblock on mp3fs#/data/Music/FLAC/,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

The only way I can mount the FS is with a:

root@mydevice:/data# mp3fs -b 192 /data/Music/FLAC /data/mp3fs -o allow_other,ro
root@mydevice:/data# mount | grep mp3fs
/data/mp3fs on /data/mp3fs type fuse.mp3fs (ro,nosuid,nodev,noatime,nodiratime,user_id=0,group_id=0,allow_other)
root@mydevice:/data#

How can I get mp3fs to mount from fstab or with the mount command? What changed in OS 6.7.4?

 

I know it's not officially supported, so any help would be appreciated.

 

Thanks in advance,

Vijay

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More