Using rootcopy on NTFS with NTFS3 driver

Post tutorials, HOWTO's and other useful resources here.
User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Using rootcopy on NTFS with NTFS3 driver

Post#1 by babam » 07 Dec 2021, 14:51

Good news for NTFS users, the NTFS3 driver supports POSIX so we can take full advantage of the rootcopy feature.

Notes:
CONFIG_NTFS3_FS_POSIX_ACL must be enabled.

I personally don't like and don't use rootcopy, I use changes with changes-ro.

Code: Select all

guest@porteus:/tmp $ uname -r
5.14.10-porteus
guest@porteus:/tmp $ lsmod | grep ntfs
ntfs3                 184320  1
guest@porteus:/tmp $ egrep 'ntfs|images/changes' /proc/mounts 
/dev/sda2 /mnt/sda2 ntfs3 rw,noatime,nodiratime,uid=1000,gid=100,fmask=37777600000,dmask=37777600000,iocharset=utf8,force,prealloc 0 0
/dev/loop50 /mnt/live/memory/images/changes btrfs rw,noatime,nodiratime,compress=zstd:8,space_cache,subvolid=5,subvol=/ 0 0
guest@porteus:/tmp $
Last edited by babam on 11 Dec 2021, 14:58, edited 2 times in total.
Sorry, my English is bad.

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

Using rootcopy on NTFS with NTFS3 driver

Post#2 by Rapha_ » 08 Dec 2021, 04:31

Good news for NTFS users, the NTFS3 driver supports POSIX so we can take full advantage of the rootcopy feature.
What do you mean ?
When copying files to the rootcopy folder using the cp command do not use the -a option and do not use root privileges if you copy files from /home/guest/* to rootcopy.
Why ?

Code: Select all

cp -r --parents /home/guest/Desktop /mnt/sdb2/rootcopy
What are these -r --parents for ?

Post Reply