diff options
author | jbranso@dismail.de <jbranso@dismail.de> | 2024-05-31 15:06:43 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-06-17 00:50:19 +0200 |
commit | b9c3f3ae29a396a33d1f40dce439fe11ace2f3c4 (patch) | |
tree | f6085165d98209af411978e28d89c0174a599e01 /hurd/documentation | |
parent | e9034d566710efcc3c78aa9cad144f81f5546736 (diff) |
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>
Diffstat (limited to 'hurd/documentation')
-rw-r--r-- | hurd/documentation/translators.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 <code>/bin/mount</code> 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 <code>dd if=/dev/zero of=dummy.fs bs=1024k -count=8; /sbin/mke2fs dummy.fs</code> and "mount" it with <code>settrans -c dummy +count=8; /sbin/mke2fs -E root_owner=$UID:0 dummy.fs</code> and "mount" it with <code>settrans -c dummy /hurd/ext2fs `pwd`/dummy.fs</code>. Note that the translator is not started yet, no new <code>ext2fs</code> process is running (verify with <code>ps Aux</code>). Check that everything is correct using <code>showtrans</code></p> |