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 linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20140505175049.GA29151@x2.net.home> Date: Mon, 5 May 2014 19:50:49 +0200 From: Karel Zak <kzak@...hat.com> To: Lukáš Czerner <lczerner@...hat.com> Cc: "Theodore Ts'o" <tytso@....edu>, Ext4 Developers List <linux-ext4@...r.kernel.org>, linux-fsdevel@...r.kernel.org Subject: Re: [PATCH 2/3] mke2fs: print extra information about existing ext2/3/4 file systems On Mon, May 05, 2014 at 04:51:25PM +0200, Lukáš Czerner wrote: > On Mon, 5 May 2014, Theodore Ts'o wrote: > > What we would need to do is file a feature request in the other file > > systems to save this information, and then add proper support for to > > pass this information from the VFS layer into the struct > > super_operations's mount function, which would be the proper, sane way > > to provide this functionality. > > > > - Ted > > Which would be reasonable if there was a consumer of such > information and it seemed to be useful. So I wonder what other > people think about that. > > Karel, you had some suggestions about how to utilize that aside from > the mkfs... It's really simple to add another NAME=value to the low-level part of the libblkid (used to feed udev db). The question is how usable will that, I can imagine: 1) audit / logging purpose 2) mount <device> --last-target 3) automount (for example udisks and removable media) unfortunately 2) and 3) seem fragile as the filesystem superblocks have no clue about namespaces and the same filesystem is possible to mount in the same time to more places, etc. BTW, the current trend is to use GPT partition types to identify purpose of the partition filesystem (for example extra GUID for /home). It's FS independent solution and it allows use the right filesystems for the right mountpoints. It's very attractive for example for virtual images where you don't have to setup fstab and identify FS, but you still have (for example) /home on the right place. Karel -- Karel Zak <kzak@...hat.com> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists