You are not logged in.
I am manually mount hdd partition with music.
Add files to play list in Audacious and all plays good.
After next turn on PC and again manually mounted same hdd partitions, Audacious say that cant find previously added to playlist music files?
Why this happens? Disks have always new mount points? Its very uncomfortable.
https://ibb.co/fFB88f9
Last edited by deepforest (2023-08-27 19:32:26)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
Look at the mount help files. Use UIDs (cannot recall actual name). Then you will have unchanging mount points that Audacious will always be able to find.
I'll add the name of those unchanging-IDs if I can find them (I've never used them personally).
Offline
You need the UUID's of the different disks/partitions. In a terminal as root use the command blkid and note the required UUID's you need. Then , as root, edit the file /etc/fstab and add the needed UUID's.
Example line from /etc/fstab:
UUID=9acd7886-5bd7-4fa4-a7e7-63b80c64f28c /mnt/GAMES ext4 auto,rw,async,exec,suid,noatime 0 2
In this example it's in reality my partition /dev/sdc3 which is mounted with its UUID in fstab instead.
More about fstab: https://man7.org/linux/man-pages/man5/f … %20enabled.
Last edited by swanson (2023-08-28 03:12:17)
Offline
Thanks for that, swanson (I was so close yet so far away!).
A very good link for the whole process:
Using UUID to Update FSTAB
I'm *very* surprised that, after all this time, there isn't a programmable way to do the whole thing. That manual step puts a big block in uptake.
Here is blkid on my system. sda1 is a usb-connected hdd and one of the main reasons for the modern use of UUIDs:
$ sudo blkid
[sudo] password for alexk:
/dev/sdc1: LABEL="SG-2TB" BLOCK_SIZE="512" UUID="5DB88E2B4D416357" TYPE="ntfs" PARTUUID="82de246a-01"
/dev/sda2: UUID="689f9e16-2d78-4635-b9c1-d68a8994e668" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="924dc2aa-fbd2-4747-b356-3cf070a966df"
/dev/sda3: UUID="f10d59d3-426b-499e-afa1-8715920318c3" TYPE="swap" PARTUUID="54a5a38e-ae7f-41e7-8c88-f0014e7cefe0"
/dev/sda1: UUID="4CD1-6816" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="75179c70-b3b4-4c5e-9684-21cf493e8438"
Offline
Instead of UID you can use file system labels. Much nicer, if you ask me. And one can memorize labels ... some maybe can memorize UID-s ... LOL
Offline
ok
and how i can do that without console, using only thunar?
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
why every reboot sda, sdb, sdc, disks swapped?
https://ibb.co/PcR8yyy
Last edited by deepforest (2023-08-28 23:19:42)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
It used to be easy with gksu thunar but gksu was removed/deprecated years ago. Search and there might be current alternatives.
Online
ok, and how gksu help with changed devices names?
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
I used it to get root privileges in thunar to change fstab entries to UUIDs etc. back in jessie days. Isn't that what you asked for? However, it probably doesn't work anymore. There are likely new ways of doing it today. I never mess with that stuff after it's set up so can't remember specifics . . .
Online
why every reboot sda, sdb, sdc, disks swapped?
That is a good question for Intel.
As written before, you may want to use uuids or labels to identify partitions.
Offline
It used to be easy with gksu thunar but gksu was removed/deprecated years ago. Search and there might be current alternatives.
Try sudo thunar in a terminal window. Any way to run thunar as root *should* have the desired result. But I've not tested it.
Offline
why every reboot sda, sdb, sdc, disks swapped?
Because they are not enumerated in any order, but a request is sent out by the kernel and then the first one answering is served first. And due to slight changes in timing the order is sort of by chance.
Offline
ok
and how i can do that without console, using only thunar?
I have no clue, I use GUI only for user tasks, never for administration. The tool is called e2label, tune2fs can do it, too.
Last edited by Segfault (2023-08-29 17:53:56)
Offline
To setup /etc/fstab from /dev/sd(x)(n) to UUID
Use lsblk blkid and fstab, for clues
you might need root access for one of those.
This will give you the uuids and show you which /dev/... to follow.
pic from 1993, new guitar day.
Offline
@All Thanks you for suggestions
I will try easiest way - labels
Last edited by deepforest (2023-08-30 20:29:35)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
using disks labels is solved my question
Last edited by deepforest (2023-08-30 20:28:57)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
Congratulations! FWIW I use labels and UUID in fstab . . .
Online