rsbackup tutorial availability
Ralf Mardorf
kde.lists at yahoo.com
Thu Sep 23 16:38:55 UTC 2021
On Thu, 23 Sep 2021 15:29:54 +0100, Ian Bruntlett wrote:
>Yes, rm -r is the best way to delete data quickly. Just be sure you are
>deleting the right data.
Hi,
for the OP the fastest way is to reformat the ext4 partition.
Btw.
sudo rm -Ir /mnt/point/
not necessarily does the job, first you might need to unset the
immutable attribute, see
$ man chattr | grep "A file with the 'i' attribute" -A1
i A file with the 'i' attribute cannot be modified: it cannot
be deleted or renamed, no link can be created to this file,
most of the file's metadata can not be modified, and the
file can not be opened in write mode. Only the superuser
or a process possessing the CAP_LINUX_IMMUTABLE capability
can set or clear this attribute.
>If you want to make the data even harder to recover, the shred command
>might be of interest to you.
Keep in mind "shingled magnetic recording", "journaling file system", "a
drives completely unknown firmware" ... don't expect that shred gains
any real security improvements.
See https://en.wikipedia.org/wiki/Shred_(Unix)#Limitations .
Regards,
Ralf
More information about the ubuntu-users
mailing list