Re: [zfs] Mounting from (...) failed with error 19

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marcel Moolenaar
Date: Tuesday, October 19, 2010 - 3:33 pm

On Oct 19, 2010, at 2:21 PM, Xin LI wrote:


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?

-- 
Marcel Moolenaar
xcllnt@mac.com



_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[zfs] Mounting from (...) failed with error 19, Xin LI, (Mon Oct 18, 4:50 pm)
Re: [zfs] Mounting from (...) failed with error 19, Andrey V. Elsukov, (Mon Oct 18, 10:03 pm)
Re: [zfs] Mounting from (...) failed with error 19, Andrey V. Elsukov, (Tue Oct 19, 7:55 am)
Re: [zfs] Mounting from (...) failed with error 19, Marcel Moolenaar, (Tue Oct 19, 8:43 am)
Re: [zfs] Mounting from (...) failed with error 19, Marcel Moolenaar, (Tue Oct 19, 8:49 am)
Re: [zfs] Mounting from (...) failed with error 19, Andrey V. Elsukov, (Tue Oct 19, 9:24 am)
Re: [zfs] Mounting from (...) failed with error 19, KOT MATPOCKuH, (Tue Oct 19, 11:16 am)
Re: [zfs] Mounting from (...) failed with error 19, KOT MATPOCKuH, (Tue Oct 19, 12:50 pm)
Re: [zfs] Mounting from (...) failed with error 19, Marcel Moolenaar, (Tue Oct 19, 3:33 pm)
Re: [zfs] Mounting from (...) failed with error 19, Andrey V. Elsukov, (Tue Oct 19, 9:38 pm)
Re: [zfs] Mounting from (...) failed with error 19, KOT MATPOCKuH, (Tue Oct 19, 11:50 pm)
Re: [zfs] Mounting from (...) failed with error 19, Andrey V. Elsukov, (Wed Oct 20, 12:21 am)
Re: [zfs] Mounting from (...) failed with error 19, Marcel Moolenaar, (Wed Oct 20, 9:23 am)
Re: [zfs] Mounting from (...) failed with error 19, Peter Jeremy, (Wed Oct 20, 12:45 pm)
Re: [zfs] Mounting from (...) failed with error 19, Garrett Cooper, (Wed Oct 20, 1:39 pm)
Re: [zfs] Mounting from (...) failed with error 19, Garrett Cooper, (Wed Oct 20, 1:40 pm)
Re: [zfs] Mounting from (...) failed with error 19, Matthew Fleming, (Wed Oct 20, 3:18 pm)
Re: [zfs] Mounting from (...) failed with error 19, Garrett Cooper, (Wed Oct 20, 3:46 pm)