[haiku] Re: GSoC 17: Introduction to myself and project discussion

  • From: Hy Che <cvghy116@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 4 Mar 2017 00:27:35 +0700

I got stuck when set up userlandfs_server for btrfs, It returned
"mount: Bad port ID" error
What I have done:




On 3/3/17, Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> wrote:

3 mars 2017 13:57 "Hy Che" <cvghy116@xxxxxxxxx> a écrit:

I followed the guide from
https://www.haiku-os.org/documents/dev/running_userlandfs in order to
build
and run in "userlandfs" mode, but it still obfuscates to me. Can I get
more
details about this ?

This page is out of date :(

You can install userlandfs using the package manager:

pkgman install userland_fs

Then you can try to build just one file system against it. Jua just
released his port of fusesmb, this should be not too hard to build:
https://github.com/orangejua/fusesmb-haiku

Its funny that yesterday I tried to install userlandfs by using pkgman
install userlandfs, but no luck, lol.

After installing userlandfs and fusesmb, how can I build and run a
filesystem in "userlandfs" mode ?. I know that I can make it run by
mount a filesystem device (eg. btrfs) to a mount point, but where can
I find the device to mount ?.

You use a device like you would for a normal filesystem. Usually one of the
partitions from /dev/disk/...
For filesystems such as btrfs, you need an already formatted one since we
don't provide the "mkfs" tool.

There are some special cases of filesystems that don't need a device, too,
or need something that is not
from /dev/disk. This would be the case eg. for network ones, which most
likely will need an URL instead.

--
Adrien.



Other related posts: