Date: Fri, 28 Jul 2017 16:28:27 -0500 (CDT) From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: byrnejb@harte-lyne.ca Cc: "Polytropon" <freebsd@edvax.de>, freebsd-questions@freebsd.org Subject: Re: Unable to mount USB Flash memory created on CentOS Message-ID: <33856.128.135.52.6.1501277307.squirrel@cosmo.uchicago.edu> In-Reply-To: <04a03226734f7cefe427b492a733b329.squirrel@webmail.harte-lyne.ca> References: <aa1eadff2a815bacb69dc015b4aa1f4f.squirrel@webmail.harte-lyne.ca> <20170728205144.c1fc18df.freebsd@edvax.de> <4a5c3fd942ff8566eefaaf9c990abba0.squirrel@webmail.harte-lyne.ca> <20170728212432.7be758bc.freebsd@edvax.de> <32ee693f24a1725290b47822cfd8bc9e.squirrel@webmail.harte-lyne.ca> <20170728220016.21aa7c83.freebsd@edvax.de> <1686132f906448c4e88d02f865da9a14.squirrel@webmail.harte-lyne.ca> <04a03226734f7cefe427b492a733b329.squirrel@webmail.harte-lyne.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, July 28, 2017 4:16 pm, James B. Byrne via freebsd-questions wrote: > > On Fri, July 28, 2017 17:09, James B. Byrne wrote: >> # mount -t ext2fs -o ro /dev/da0s1 /mnt/usb01 >> # mount -t ext2fs -o ro /dev/da1s1 /mnt/usb02 >> >> These both work on the second and third usb stick, the ones whose >> insertion seemed to trigger the problem. >> >> This is the backup stick which was already inserted and mounted when >> the problem started: >> >> # gpart list da0 >> Geom name: da0 >> modified: false >> state: OK >> fwheads: 255 >> fwsectors: 63 >> last: 122915327 >> first: 63 >> entries: 4 >> scheme: MBR >> Providers: >> 1. Name: da0s1 >> Mediasize: 62928519168 (59G) >> Sectorsize: 512 >> Stripesize: 0 >> Stripeoffset: 4128768 >> Mode: r0w0e0 >> attrib: active >> rawtype: 12 >> length: 62928519168 >> offset: 4128768 >> type: !12 >> index: 1 >> end: 122915327 >> start: 8064 >> Consumers: >> 1. Name: da0 >> Mediasize: 62932647936 (59G) >> Sectorsize: 512 >> Mode: r0w0e0 >> >> >> So what is type !12? How would I mount it? >> >> > > fstyp /dev/da0s1 > msdosfs > > But that does not seem right. This usb stick was filled using rsync. rsync does not change filesystem type, only files and directories. It will fail to make appropriate permissions and ownership if filesystem on destination does not support those. I often use rsync on my FreeBSD to dump some stuff onto USB flash drive (with msdosdf) from native UFS formatted partition on the machine, and then I mount flash drive on MS Windows which happily does it, even though it has no idea about UFS which files originally came from. I hope this helps. Valeri > > -- > *** e-Mail is NOT a SECURE channel *** > Do NOT transmit sensitive data via e-Mail > Do NOT open attachments nor follow links sent by e-Mail > > James B. Byrne mailto:ByrneJB@Harte-Lyne.ca > Harte & Lyne Limited http://www.harte-lyne.ca > 9 Brockley Drive vox: +1 905 561 1241 > Hamilton, Ontario fax: +1 905 561 0757 > Canada L8E 3C3 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33856.128.135.52.6.1501277307.squirrel>