Page 1 of 1
When creating a hard link, the function prompt is incorrect (HARDLINK: Incorrect Function on exFAT drive)
Posted: 19 Aug 2024, 16:53
by violetcat
When creating a hard link, the function prompt is incorrect
System version:
Software version:
Error log:
Code: Select all
HARDLINK: 函数不正确。: BanG Dream! It's MyGO!!!!! - S01E01 - 羽丘の不思議ちゃん.mp4 -> [ANi] BanG Dream! It's MyGO!!!!! - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT].mp4
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:02
by rednoah
FileBot asks Windows to create a hardlink. Windows says "函数不正确。"
(NOTE: FileBot doesn't have Chinese error messages; so this error message is from Windows itself) so that probably means that the thing you're trying to do is not possible on a file system level.

Did you confirm that creating a hardlink is conceptually possible in this specific case? Same file system? File system supports hardlinks?

What is the complete context? GUI? Screenshots? CLI? Console output? Please read
How to Request Help.
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:14
by violetcat
How should I test this problem? When I use the MKlink command in CMD, no error will be reported.
Re: rednoah
Posted: 19 Aug 2024, 19:33
by violetcat
Sorry, I don't know how to upload pictures in this forum. I copied the system information and complete error report.
Code: Select all
FileBot 5.1.4 (r10362)
JNA Native: 6.1.6
MediaInfo: 24.06
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2024-08-16 (r975)
Groovy: 4.0.21
JRE: OpenJDK Runtime Environment 21.0.3
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 24 Core / 31 GB Max Memory / 418 MB Used Memory
OS: Windows 10 (amd64)
STORAGE: NTFS [未命名] @ 33 GB | exFAT [未命名] @ 449 GB | NTFS [(E:)] @ 395 GB
DATA: C:\Users\Administrator\AppData\Roaming\FileBot
Package: MSI
License: FileBot License P64361124 (Valid-Until: 2025-08-26)
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:34
by violetcat
Code: Select all
Aug 20, 2024 2:33:47 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第14話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv:net.filebot.mediainfo
Aug 20, 2024 2:33:47 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo.mtime: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第14話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv:net.filebot.mediainfo.mtime
Aug 20, 2024 2:33:47 AM net.filebot.media.CachedMediaCharacteristics lambda$getMediaCharacteristics$0
警告: Invalid media file: [[Snow-Raws] バクマン. 第14話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv | 713935715]
Aug 20, 2024 2:33:47 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第21話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo
Aug 20, 2024 2:33:47 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo.mtime: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第21話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo.mtime
Aug 20, 2024 2:33:47 AM net.filebot.media.CachedMediaCharacteristics lambda$getMediaCharacteristics$0
警告: Invalid media file: [[Snow-Raws] バクマン. 第21話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv | 499745619]
Aug 20, 2024 2:33:47 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第18話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo
Aug 20, 2024 2:33:47 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo.mtime: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第18話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo.mtime
Aug 20, 2024 2:33:47 AM net.filebot.media.CachedMediaCharacteristics lambda$getMediaCharacteristics$0
警告: Invalid media file: [[Snow-Raws] バクマン. 第18話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv | 516553079]
Aug 20, 2024 2:33:48 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第16話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo
Aug 20, 2024 2:33:48 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo.mtime: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第16話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo.mtime
Aug 20, 2024 2:33:48 AM net.filebot.media.CachedMediaCharacteristics lambda$getMediaCharacteristics$0
警告: Invalid media file: [[Snow-Raws] バクマン. 第16話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv | 514692606]
Aug 20, 2024 2:33:51 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第15話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo
Aug 20, 2024 2:33:51 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo.mtime: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第15話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo.mtime
Aug 20, 2024 2:33:51 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第24話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo
Aug 20, 2024 2:33:51 AM net.filebot.MetaAttributeView put
警告: Failed to write xattr key: net.filebot.mediainfo.mtime: 文件名、目录名或卷标语法不正确。: [Snow-Raws] バクマン. 第24話 (BD 1920x1080 HEVC-YUV420P10 FLAC).mkv:net.filebot.mediainfo.mtime
Aug 20, 2024 2:34:42 AM net.filebot.ui.rename.RenameAction lambda$actionPerformed$1
严重: HARDLINK: 函数不正确。: バクマン。 - S01E01 - 夢と現実.mkv -> [Snow-Raws] バクマン. 第01話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv
Aug 20, 2024 2:35:11 AM net.filebot.ui.rename.RenameAction lambda$actionPerformed$1
严重: HARDLINK: 函数不正确。: バクマン。 - S01E01 - 夢と現実.mkv -> [Snow-Raws] バクマン. 第01話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv
Aug 20, 2024 2:35:29 AM net.filebot.ui.rename.RenameAction lambda$actionPerformed$1
严重: HARDLINK: 函数不正确。: バクマン。 - S01E01 - 夢と現実.mkv -> [Snow-Raws] バクマン. 第01話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv
Aug 20, 2024 2:35:36 AM net.filebot.ui.rename.RenameAction lambda$actionPerformed$1
严重: HARDLINK: 函数不正确。: バクマン。 - S01E01 - 夢と現実.mkv -> [Snow-Raws] バクマン. 第01話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv
Aug 20, 2024 3:18:58 AM net.filebot.ui.rename.RenameAction lambda$actionPerformed$1
严重: HARDLINK: 函数不正确。: バクマン。 - S01E01 - 夢と現実.mkv -> [Snow-Raws] バクマン. 第01話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv
Aug 20, 2024 3:19:03 AM net.filebot.ui.rename.RenameAction lambda$actionPerformed$1
严重: HARDLINK: 函数不正确。: バクマン。 - S01E01 - 夢と現実.mkv -> [Snow-Raws] バクマン. 第01話 (BD 1920x1080 HEVC-YUV420P10 FLACx2).mkv
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:36
by violetcat
rednoah wrote: ↑19 Aug 2024, 19:02
FileBot asks Windows to create a hardlink. Windows says "函数不正确。"
(NOTE: FileBot doesn't have Chinese error messages; so this error message is from Windows itself) so that probably means that the thing you're trying to do is not possible on a file system level.

Did you confirm that creating a hardlink is conceptually possible in this specific case? Same file system? File system supports hardlinks?

What is the complete context? GUI? Screenshots? CLI? Console output? Please read
How to Request Help.
When I use the MKlink command in CMD, no error will be reported.
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:50
by rednoah

What are the complete file paths you are testing with?

Are these file paths on a local NTFS drive or a remote network share?

The
警告: Failed to write xattr key error message suggests that the file at hand is located on a file system that does not support advanced file system features like
xattr metadata (e.g. FAT file system or SMB network share) and that basic file system not supporting symlinks / hardlinks would be very much expected.
violetcat wrote: ↑19 Aug 2024, 19:36
When I use the MKlink command in CMD, no error will be reported.

Can you copy & paste the command so that we can confirm that you're you are simulating the exact same command with the same file paths that FileBot is running internally? All things being the same, we would expect
mklink to fail with the same Windows error message.
violetcat wrote: ↑19 Aug 2024, 19:33
Sorry, I don't know how to upload pictures in this forum. I copied the system information and complete error report.
How can I share screenshots?
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:51
by violetcat
rednoah wrote: ↑19 Aug 2024, 19:02
FileBot asks Windows to create a hardlink. Windows says "函数不正确。"
(NOTE: FileBot doesn't have Chinese error messages; so this error message is from Windows itself) so that probably means that the thing you're trying to do is not possible on a file system level.

Did you confirm that creating a hardlink is conceptually possible in this specific case? Same file system? File system supports hardlinks?

What is the complete context? GUI? Screenshots? CLI? Console output? Please read
How to Request Help.
I think I know what the problem is. Because I have both MAC and Widows installed on my machine, my hard drive is formatted as exfat, and Windows seems to only support NTFS volumes when creating hard links.
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:53
by rednoah
violetcat wrote: ↑19 Aug 2024, 19:51
I think I know what the problem is. Because I have both MAC and Widows installed on my machine, my hard drive is formatted as exfat, and Windows seems to only support NTFS volumes when creating hard links.
exFAT fundamentally does not support hardlinks, and so no tool
(not filebot, not mkfile, etc) can create hardlinks on that drive.
Re: When creating a hard link, the function prompt is incorrect
Posted: 19 Aug 2024, 19:55
by violetcat
rednoah wrote: ↑19 Aug 2024, 19:53
violetcat wrote: ↑19 Aug 2024, 19:51
I think I know what the problem is. Because I have both MAC and Widows installed on my machine, my hard drive is formatted as exfat, and Windows seems to only support NTFS volumes when creating hard links.
exFAT fundamentally does not support hardlinks, and so no tool
(not filebot, not mkfile, etc) can create hardlinks on that drive.
Thank you for your answer. It seems that I need to find a way to change the hard disk format.