Answer the question
In order to leave comments, you need to log in
Why can't Minidlna see the files on the mounted partition?
There is a raspberry pi model B, a TV with smarttv support.
It is necessary that media content be broadcast on the TV.
I decided to install a server + transmission on the raspberry minidlna, to store files downloaded using transmission files, I want to use a usb flash drive connected to one of the two available usb connectors.
Connecting the usb flash drive made the command blkid
Result:
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="2654-BFC0" TYPE="vfat"
/dev/mmcblk0p2: UUID="548da502-ebde-45c0-9ab2-de5e2431ee0b" TYPE="ext4"
/dev/sda1: UUID="79FF-CD05" TYPE="vfat"
mkdir /mnt/usbhdd
sudo nano /etc/fstab
/dev/sda1 /mnt/usbhdd vfat rw,codepage=866,nls=utf8,gid=plugdev,umask=0002,nofail,users 0 0
sudo mount /dev/sda1 /mnt/usbhdd
sudo nano /etc/minidlna.conf
media_dir=/mnt/usbhdd
sudo service minidlna force-reload
sudo nano /etc/minidlna.conf
media_dir=/mnt/usbhdd
media_dir=/media
sudo service minidlna force-reload
ls -l
drwxr-xr-x 2 root root 8192 Jan 1 1970 usbhdd
Answer the question
In order to leave comments, you need to log in
Most likely the problem is in the FS, not native to Linux. / media - on the root partition, which is the same in ext4? External device - flash drive? Reformat it to ext2 and try again. If it suits you - ok. If you still want a flash drive with vfat - lay out the entire minidlna config you use.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question