Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2004 18:49:39 +1100
From:      Gautam Gopalakrishnan <ggop@madras.dyndns.org>
To:        Ken Seggerman <suleyman@panix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I read digital camera on USB port with hppsmtools?
Message-ID:  <20040107074939.GA7899@madras.dyndns.org>
In-Reply-To: <Pine.NEB.4.58.0401060831480.18057@panix1.panix.com>
References:  <Pine.NEB.4.58.0401050412490.10686@panix1.panix.com> <20040105115949.GA1780@madras.dyndns.org> <Pine.NEB.4.58.0401060831480.18057@panix1.panix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 06, 2004 at 09:11:02AM -0500, Ken Seggerman wrote:
> Thanks for your reply.
> 
> > > I plug the camera into the USB port, turn on the camera, it beeps and says
> > > it is connected to a computer.
> >
> > At this stage I think you could mount the camera with the /dev/da0s1
> > device with msdosfs. Works for me with 5.1
> 
> I added this to my /etc/fstab:
> /dev/da0s1   /camera msdos   r,notauto,longnames  0  0
> 
> created a /camera directory and did "MAKEDEV da0s1" but when I try to
> mount /camera:
> 
> # mount /camera
> fstab: /etc/fstab:9: Inappropriate file type or format
> fstab: /etc/fstab:9: Inappropriate file type or format
> mount: /camera: unknown special file or file system
> 
> when I try putting this line in /etc/fstab:
> 
> /dev/usb0  /usb  msdos   rw,noauto,longnames  0 0
> and
> # mount /usb
> 
> I get:
> fstab: /etc/fstab:9: Inappropriate file type or format
> msdos: /dev/usb0: Block device required

This is what works for me:
/dev/da0s1    /flash    msdos   rw,noauto       0       0

I don't know if you need 'longnames', and 'noauto', not 'notauto'.
Also please make sure you have created the mount point :-)

Gautam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040107074939.GA7899>