From: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Ricardo M. Correia" <Ricardo.M.Correia-UdXhSnd/wVw@public.gmane.org>
Cc: Andreas Dilger <adilger-UdXhSnd/wVw@public.gmane.org>,
Brian Behlendorf <behlendorf1-i2BcT+NCU+M@public.gmane.org>,
linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Emmanuel Anne
<emmanuel.anne-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [ANNOUNCE] util-linux-ng v2.17.1
Date: Fri, 26 Feb 2010 16:16:18 +0100 [thread overview]
Message-ID: <20100226151618.GE8702@nb.net.home> (raw)
In-Reply-To: <1267193930.10440.44.camel-RKLrhfLVcY7jLjhPMhbwMQ@public.gmane.org>
On Fri, Feb 26, 2010 at 02:18:50PM +0000, Ricardo M. Correia wrote:
> On Sex, 2010-02-26 at 14:52 +0100, Karel Zak wrote:
> > Hi Andreas,
> > The TYPE is used by mount(8) or fsck(8) if the fstype is not
> > explicitly defined by user.
> >
> > I don't know if anything depends on the TYPE, but I don't see
> > /sbin/mount.zfs, so it seems that zfs-fuse guys use something other.
>
> Right, ZFS filesystems are mounted in zfs-fuse automatically when a ZFS
> pool is imported into the system or manually with the "zfs" command. The
> latter calls into the zfs-fuse daemon, which issues a fuse_mount() call.
> This mimics the behavior in the Solaris ZFS implementation.
Hmm.. we have udevd, in an ideal world zfs-fuse would be integrated
with udev.
> I would expect the /sbin/mount.zfs command to only work when the
> mountpoint property of a ZFS filesystem is set to 'legacy', otherwise
> ZFS will usually mount the filesystem by itself in the proper place
> (which depends on the mountpoint property and the dataset hierarchy
> within the pool).
>
> Most importantly, I don't think it would be easy to determine which
> filesystems are inside of a ZFS pool. This would require traversing the
> dataset hierarchy within a pool, which is very difficult to implement if
> you don't use the existing ZFS code, especially when you have
> RAID-Z/Z2/Z3 pools. We'd be better off using the 'zdb' command (which
> contains an entire implementation of ZFS's DMU code in userspace).
Yes, the same "problem" we have with DM/MD/... the solution is to
detect that there is any "volume_member" and then use specific tools
(dmsetup, cryptsetup, mdadm, ...) to create a virtual mountable
device.
> Not sure if this helps or not for this discussion (more information is
> never bad, right?) :-)
Right. BTW, I assume the same discussion for btrfs ;-)
Karel
--
Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-02-26 15:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-22 10:30 [ANNOUNCE] util-linux-ng v2.17.1 Karel Zak
2010-02-26 1:13 ` Andreas Dilger
[not found] ` <A5AF32A3-C8A4-4785-8886-9CF79EFA4C57-xsfywfwIY+M@public.gmane.org>
2010-02-26 13:52 ` Karel Zak
2010-02-26 14:18 ` Ricardo M. Correia
[not found] ` <1267193930.10440.44.camel-RKLrhfLVcY7jLjhPMhbwMQ@public.gmane.org>
2010-02-26 15:16 ` Karel Zak [this message]
[not found] ` <20100226151618.GE8702-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2010-02-26 15:42 ` Ricardo M. Correia
[not found] ` <20100226135203.GC8702-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2010-02-26 20:07 ` Andreas Dilger
[not found] ` <CB4C887A-11B7-4A88-A911-102B34728B8A-xsfywfwIY+M@public.gmane.org>
2010-02-26 22:47 ` Karel Zak
[not found] ` <20100226224706.GH8702-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2010-03-01 23:40 ` Andreas Dilger
[not found] ` <8DFF5500-85B9-4E6F-83E6-FC99A06A14C1-xsfywfwIY+M@public.gmane.org>
2010-03-02 14:40 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100226151618.GE8702@nb.net.home \
--to=kzak-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=Ricardo.M.Correia-UdXhSnd/wVw@public.gmane.org \
--cc=adilger-UdXhSnd/wVw@public.gmane.org \
--cc=behlendorf1-i2BcT+NCU+M@public.gmane.org \
--cc=emmanuel.anne-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).