Having to type the full dataset names as arguments to zfs(1M), e.g.

$ zfs snapshot rpool/export/home/ml93401/onnv-cl...@onnv_121
$ zfs clone rpool/export/home/ml93401/onnv-cl...@onnv_121 \
    rpool/export/home/ml93401/ws/somebugfix
$ cd ws/somewbugfix

[do some work]

$ zfs snapshot rpool/export/home/ml93401/ws/somebug...@9aug

gets boring quickly and got me thinking that it would be nice if one could use pathnames in zfs(1M) arguments in addition to dataset names ('zfs list' already supports pathnames as arguments).

Some hacking lead to the luxury of being able to this instead:

$ zfs snapshot ./onnv-cl...@onnv_121
$ zfs clone ./onnv-cl...@onnv_121 ./ws/somebugfix
$ cd ws/somewbugfix

[do some work]

$ zfs snapshot ./@9aug

Is there any particular reason why this is not yet possible (other than 'nobody has done the work' obviously)? CR 628833 (RFE: allow filesystem mountpoints for zfs commands) seems to be the closest to this, but has been closed as a dup of 6260523 (want 'zfs list <path>') without any information as to why.

Thoughts?

Menno
--
Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to