Skip to contentSkip to conversation

uxfs review

DISCUSSION Valentin Vidić 2 participants 3 messages Feb 20, 2020

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Valdis Klētnieks

(Of course, if you're trying to get a 2.6.12 driver working on 5.6... you may decide that it's time to start drinking heavily :)

Now that you mention 2.6 :), I've been trying to update this uxfs filesystem from an old book[1] for modern kernels:

https://github.com/vvidic/uxfs/

It currently builds and seems to work but it could probably use a review if someone has a bit of time? I can post the diff here if that would be easier.

[1] Steve D. Pate, UNIX Filesystems, 2003.

Signature · 6 lines
Valentin

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
#1 lore raw
Quoted 8 lines · Valentin Vidic

Now that you mention 2.6 :), I've been trying to update this uxfs filesystem from an old book[1] for modern kernels:

https://github.com/vvidic/uxfs/

It currently builds and seems to work but it could probably use a review if someone has a bit of time? I can post the diff here if that would be easier.

Do you have an actual uxfs filesystem to test against? Having the mkfs.uxfs and fsck.uxfs utilities would be useful as well.

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#2 lore raw
Quoted 2 lines · Valdis Klētnieks

Do you have an actual uxfs filesystem to test against? Having the mkfs.uxfs and fsck.uxfs utilities would be useful as well.

It is not a filesystem used in real world, but there is mkfs in cmds:

cmds
cmds/fsdb.c
cmds/Makefile
cmds/mkfs.c
kern
kern/Makefile
kern/ux_alloc.c
kern/ux_dir.c
kern/ux_file.c
kern/ux_fs.h
kern/ux_inode.c
LICENSE
Makefile

As for fsck there is only this funny comment :)

kern/ux_inode.c: pr_err("uxfs: %s Filesystem is not clean. Write and run fsck!\n",

Signature · 6 lines
Valentin

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies