Date: Tue, 29 Jan 2008 22:28:14 +0100 From: Henrik Gulbrandsen <henrik@gulbra.net> To: Peter Trifonov <petert@dcn.nord.nw.ru> Cc: freebsd-usb@freebsd.org Subject: RE: Mounting USB flash drive Message-ID: <1201642094.2277.529.camel@Particle> In-Reply-To: <001001c86250$0b12db30$21389190$@nord.nw.ru> References: <000901c861bc$cb8b9e90$62a2dbb0$@nord.nw.ru> <1201541812.2277.418.camel@Particle> <001001c86250$0b12db30$21389190$@nord.nw.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2008-01-29 at 11:22 +0300, Peter Trifonov wrote: > Just a small suggestion for your patch set. The /etc/devd/umass script > contains the following: > > # Verify that there is a slice to mount > if [ ! -e /dev/${drv}s1 ]; then > exit 1; > fi > > I have seen some flash drives which do not contain any partitions, i.e. they > look like a big floppy. > In this case one should not look for /dev/daXsY, but mount /dev/daX. Thanks for the reminder! I know I've seen this mentioned somewhere else, but I guess I was hoping that someone with access to one of those drives would submit a tested patch, so I wouldn't have the risk of leaving some stupid mistake in the code. I'll try to keep it in mind for new updates! /Henrik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1201642094.2277.529.camel>