Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. /dev/sda2 /mnt/somedir ntfs-3g permissions,locale=en_US.utf8 1 2
  2.  
  3. # Display the reparse data of the file source-file
  4. $ getfattr -h -e hex -n system.ntfs_reparse_data source-file
  5.  
  6. # Copy the reparse data of the file source-file
  7. # to the file target-file
  8. $ REPARSE=`getfattr -h -e hex -n system.ntfs_reparse_data source-file |
  9. grep '=' | sed -e 's/^.*=//'`
  10. $ setfattr -h -v $REPARSE -n system.ntfs_reparse_data target-file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement