dfd3339d12
The Solaris code allows shorthand paths by checking for the short name in /dev/dsk/. For Linux we extend this shorthand syntax to be udev aware. This commit now additionally checks for the short name in /dev/, /dev/disk/by-id, /dev/disk/by-label, /dev/disk/by-path, /dev/disk/by-uuid, and /dev/disk/zpool/. If the short name is found in any of these places the path is fully expanded and used. This may allow for the simpler creation of pools: # Using /dev/disk/by-id/ short names zpool crete tank raidz ata-Maxtor_7Y250M0_Y638DK2E \ ata-Maxtor_7Y250M0_Y638PBNE ata-Maxtor_7Y250M0_Y638PBZE # Using /dev/disk/zpool/ short names zpool create tank raidz2 A1 A2 A3 A4 mirror B1 B2 B3 B4 # Using full path names zpool create tank raidz2 /dev/sd[ah] |
||
---|---|---|
cmd | ||
config | ||
etc | ||
lib | ||
man | ||
module | ||
patches | ||
scripts | ||
.gitignore | ||
.topdeps | ||
.topmsg | ||
AUTHORS | ||
COPYING | ||
COPYRIGHT | ||
ChangeLog | ||
DISCLAIMER | ||
GIT | ||
META | ||
Makefile.am | ||
OPENSOLARIS.LICENSE | ||
README.markdown | ||
ZFS.RELEASE | ||
autogen.sh | ||
configure.ac | ||
zfs-modules.spec.in | ||
zfs.spec.in |
README.markdown
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!
Documentation for building, configuring, and using ZFS can be found at: http://wiki.github.com/behlendorf/zfs/