lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 18 Mar 2023 12:24:21 -0400 From: "Theodore Ts'o" <tytso@....edu> To: Zhiqiang Liu <liuzhiqiang26@...wei.com> Cc: Ext4 Developers List <linux-ext4@...r.kernel.org>, adilger@...mcloud.com, Jan Kara <jack@...e.cz>, linfeilong <linfeilong@...wei.com>, wuguanghao <wuguanghao3@...wei.com>, zhanchengbin <zhanchengbin1@...wei.com>, libaokun1@...wei.com Subject: Re: [PATCH] tune2fs: check whether dev is mounted or in use before setting On Sat, Mar 18, 2023 at 11:36:03AM +0800, Zhiqiang Liu wrote: > From: Zhiqiang Liu <liuzhiqiang26@...wei.com> > > tune2fs is used to adjust various tunable filesystem pars, which > may conflict with kernel operations. So we should check whether > device is mounted or in use at the begin similar to e2fsck and mke2fs. > > Of course, we can ignore this check if -f is set. Tune2fs is designed to work on mounted file systems. There are individual checks for those changes which can not be safely done on mounted file systems, but most changes are safe to do on mounted file systems. Cheers, - Ted
Powered by blists - more mailing lists