From b9c3f3ae29a396a33d1f40dce439fe11ace2f3c4 Mon Sep 17 00:00:00 2001 From: "jbranso@dismail.de" Date: Fri, 31 May 2024 15:06:43 -0400 Subject: add example of how to create a custom filesystem. Hey Samuel, this is another modification of a previous commit. Hopefully this addresses your critiques. I also added in "-E root_owner=$UID:0" to some other files, where I thought it was appropirate. Hopefully I didn't make any mistakes. I did test this by the way. I was able to get ~/silly/silly1 to be two nested ext2fs translators. All without having to execute "sudo"! * hurd/translator/ext2fs.mdwn: explain how to create a custom filesystem, and mentioned that the current limit for how many nested ext2fs filesystems there could be...is 32. * faq/still_useful: sbin/mk2fs dummy.fs -> sbin/mk2fs -E root_owner=$UID:0 dummy.fs * hurd/documentation/translators.html: as above. * open_issues_/64-bit_port.mdwn: as above Message-ID: <20240531191015.8761-1-jbranso@dismail.de> --- hurd/documentation/translators.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/documentation') diff --git a/hurd/documentation/translators.html b/hurd/documentation/translators.html index e455f730..348774d1 100644 --- a/hurd/documentation/translators.html +++ b/hurd/documentation/translators.html @@ -212,7 +212,7 @@ I recommend that you start by reading the /bin/mount command, it is only a small script. Because setting filesystem translators is similar to mounting partitions, you can easily grasp the concept this way. Make a file system image with dd if=/dev/zero of=dummy.fs bs=1024k -count=8; /sbin/mke2fs dummy.fs and "mount" it with settrans -c dummy +count=8; /sbin/mke2fs -E root_owner=$UID:0 dummy.fs and "mount" it with settrans -c dummy /hurd/ext2fs `pwd`/dummy.fs. Note that the translator is not started yet, no new ext2fs process is running (verify with ps Aux). Check that everything is correct using showtrans

-- cgit v1.2.3