Shell
man hdparm
...
-f Sync and flush the buffer cache for the device on exit. This operation is also performed internally as part of the -t and
-T timings and other options.
...
Shell
charttr + s
Модератор: Bizdelnick
Shell
man hdparm
...
-f Sync and flush the buffer cache for the device on exit. This operation is also performed internally as part of the -t and
-T timings and other options.
...
Shell
charttr + s
Во-вторых, hdparm работает с железом, до его вызова я бы попробовал сделать sync.man chattr писал(а):The 'c', 's', and 'u' attributes are not honored by the ext2, ext3, and ext4 filesystems as implemented in the current mainline Linux kernels.
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
Shell
shred -un 1 foo
sudo hdparm -f /dev/sda7
Почему- для меня загадка. Опять же, я встретил это в книге, изданной аж в 2011 году, что вот, установите такой атрибут chattr +s и будет вам счастье. Книгам верим.The i_flags field is a combination of these values:
Value Description 0x1 This file requires secure deletion (EXT4_SECRM_FL). (not implemented)