Brian Behlendorf a6cba65cca Check for trailing '/' in mount.zfs
When run with a root '/' cwd the mount.zfs helper would strip not
only the '/' but also the next character from the dataset name.
For example, '/tank' was changed to 'ank' instead of just 'tank'.
Originally, this was done for the '/tmp' cwd case where we needed
to strip the '/' following the cwd.  For example '/tmp/tank' needed
to remove the '/tmp' cwd plus 1 character for the '/'.

This change fixes the problem by checking the cwd and if it ends in
a '/' it does not strip and extra character.  Otherwise it will strip
the next character.  I believe this should only ever be true for the
root directory.

Closes #148
2011-03-10 12:58:44 -08:00
2011-03-10 12:58:44 -08:00
2011-03-07 13:09:20 -08:00
2011-03-09 15:26:48 -08:00
2011-03-09 15:26:48 -08:00
2011-03-09 13:31:00 -08:00
2010-08-31 13:41:27 -07:00
2011-02-10 09:27:22 -08:00
2010-09-01 15:42:32 -07:00
2010-08-31 13:41:27 -07:00
2011-03-09 15:26:48 -08:00
2011-03-09 15:26:48 -08:00
2010-05-18 10:32:23 -07:00
2011-03-09 15:26:48 -08:00
2008-12-01 14:49:34 -08:00
2010-09-15 09:09:37 -07:00
2010-08-26 14:24:34 -07:00
2011-03-09 15:26:48 -08:00

Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!

$ ./configure
$ make pkg

Full documentation for building, configuring, and using ZFS can be found at: http://zfsonlinux.org

S
Description
No description provided
Readme 122 MiB
Languages
C 70.2%
Shell 19.9%
Assembly 5.1%
M4 1.9%
Python 1.6%
Other 1.3%