M
M
Maxim Portnov2018-08-22 08:00:53
linux
Maxim Portnov, 2018-08-22 08:00:53

How to change the /srv/dev-disk-by-id-md-name-_none_-2 folder correctly?

Installed Debian + OpenMediaVault
The problem is that fstab has this piece:

# Add swap
/dev/md0	swap	swap	defaults	0	0
# >>> [openmediavault]
/dev/disk/by-id/md-name-_none_:2 /srv/dev-disk-by-id-md-name-_none_-2 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]

Hence the next problem. In / srv / there is a folder dev-disk-by-id-md-name-_none_-2 and in general it would not bother me, if not for one BUT. When adding torrents for download, the Transmission interface displays the path: /srv/dev-disk-by-id-md-name-_none_-2/Public/Downloads and I don't like it. I wish there was a better way.
Is it possible to "unmount" /srv/dev-disk-by-id-md-name-_none_-2, change the folder name, and manually edit fstab to mount that folder? Or in general how to do what I need? I want a path like /srv/md2/Public/Downloads

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question