ntfsinfo expects a path from the root directory of the designated partition (/dev/sdb2). For user files on a Windows system directory, the path beginning is usually /Users.
Anyway, I am not sure ntfsinfo will be able to descend into a OneDrive directory, so please retry and get the inode first, then get the attributes by inode number.
By doing :
ls -li some-path/layout.txt
you will get the inode number shown at the beginning of line, then you get the attributes by doing :
sudo ntfsinfo -fvi the-inode-number /dev/sdb2
> but all files are not valid
Can you access some files (those with an on-disk copy) ? You are expected to not be able to access files which have no local copy.
> sudo ntfsinfo -fv -F ~/data/ 云/OneDrive/ layout. txt /dev/sdb2
ntfsinfo expects a path from the root directory of the designated partition (/dev/sdb2). For user files on a Windows system directory, the path beginning is usually /Users.
Anyway, I am not sure ntfsinfo will be able to descend into a OneDrive directory, so please retry and get the inode first, then get the attributes by inode number.
By doing : layout. txt
ls -li some-path/
you will get the inode number shown at the beginning of line, then you get the attributes by doing :
sudo ntfsinfo -fvi the-inode-number /dev/sdb2