[zfs] Mounting from (...) failed with error 19
Andrey V. Elsukov
bu7cher at yandex.ru
Wed Oct 20 04:38:52 UTC 2010
On 20.10.2010 2:33, Marcel Moolenaar wrote:
>> What about the attached patch? I'm going to give it a swirl soon. The
>> difference is that it tests whether dev begins with /dev/.
>
> Interesting. I've been thinking about this too, but isn't
> exactly fool-proof. When devfs is the root file system,
> you can use "ufs:da0s1a" to refer to the device special
> file. It seems inconsistent to have "ufs:da0s1" fail when
> ufs:/dev/da0s1" works (a real scenario with USB based mass
> storage devices -- root mount is unheld as soon as umass
> is created, but before daX exists for it).
>
> This patch at least covers the problem cases with a single
> strstr(), and we may get away with the inconsistency given
> above by documenting it properly.
>
> Andrey: any thoughts?
Currently usage information in parse_dir_ask() says that device should
be specified with "/dev/". But conf0 does not use "/dev/". Also, Marcel,
do you have any plans write some documentation with examples about using
of new features?
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20101020/19ce1dc7/signature.pgp
More information about the freebsd-current
mailing list