Re: USB flash memory mounting

From: Johnson David (DavidJohnson_at_Siemens.com)
Date: 04/27/04

  • Next message: Dominic Caffey: "bzflag under FreeBSD release 5.2.1 - can't open display - missing GLX extension..."
    To: freebsd-newbies@freebsd.org
    Date: Tue, 27 Apr 2004 10:43:46 -0700
    
    

    On Sunday 25 April 2004 07:53 pm, Nathan Butcher wrote:

    > I inserted the stick and got told that it was da1. What I did was to
    > edit /etc/fstab and make this entry:-
    >
    > /dev/da1 /mnt msdos noauto,user,umask=0 0 0
    >
    > that didn't work. I got some error about Inappropriate file type or
    > format. Changed filetype to vfat and that didn't work either like it
    > does in Linux.

    /dev/da1 is not what you want. That's the device, but it doesn't specify
    the slice. The umass driver treats the memory stick like a SCSI
    harddrive, so your mount command should also treat it like a harddrive.
    You should be using "da1s1" or similar instead. (In UNIX terminology, a
    "slice" is roughly equivalent to a DOS primary partition.)

    David
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Dominic Caffey: "bzflag under FreeBSD release 5.2.1 - can't open display - missing GLX extension..."

    Relevant Pages

    • Re: format
      ... I was indeed using format (to make a slice larger, ... before using growfs on the UFS flesystem living on that slice). ... growfs on a mounted file system is supported. ... You could have unmounted the file system, commented out the entry in vfstab, resized that slice, uncommented the entry in vfstab, and done your growfs in the time you've spent complaining about it. ...
      (comp.unix.solaris)
    • Re: How does one erase a FreeBSD disk (slice) label?
      ... > How does one erase a FreeBSD disk (slice) label? ... Wouldn't work; FORMAT is braindead. ... > disk labels and build a new kernel? ... Boot from a FIXIT floppy/CD and try erasing it there. ...
      (freebsd-questions)
    • Re: format
      ... growfs on a mounted file system is supported. ... Format on a mounted, ... or potentially mounted slice appears NOT to be supported. ...
      (comp.unix.solaris)
    • Re: slices on the hard disk
      ... >> during the format command. ... >> the size of the slice. ... >disk label looks. ... That one seems to be setting up partition 0 as a duplicate of partition ...
      (comp.sys.sun.hardware)