Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Midnight Commander RenMov ignores Split Level

Featured Replies

Hi,

 

I just came across a strange behavior using Midnight Commander and hopefully someone can clear me up here.

 

So I have two shares. Both using all disks.

 

I wanted to move one file from /mnt/user/Downloads/file.xy to /mnt/user/Media/TV Shows/ShowXY/Season 1/

 

The file was located on disk 2 on the Downloads share. My Media share is using Split Level 3 which makes sure that all season folders stay on one disk only.

In this case the Season 1 folder was located on disk 1 already. So what I expected MC to do was moving the file from disk 2 of my Downloads share to disk 1 in /mnt/user/Media/TV Shows/ShowsXY/Season 1/

 

Unfortunately this did not happen and a new Season 1 folder was created on disk 2 containing the moved file.

 

So is Midnight Commander ignoring split levels when using the RenMov procedure? Is it just moving the file around on the same disk regardless of my share settings?

Personally when I'm using MC I always move files from disks to disks not share to share. That way files go exactly where I say they are to go vs where ever unRAID chooses to put them.

 

As for does MC ignore Split Levels? That I don't honestly know.

  • Community Expert

Probably mc is just doing mv. And mv to the same disk would just change the directory entry rather than actually moving anything. If so, the question would be how does mv work with user shares.

 

When writing a file to a user share, if the file already exists on some disk in the user share, it will update the existing file instead of creating a new one on some other disk in the user share. Something like this is probably happening with mv also, where it sees the file already exists on a disk in the user share so it updates the directory entry of the existing file.

  • Author

ok, makes sense. Thanks 8)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.