mount usb drive
I need to mount a usb flash drive. I am using DragonFly 2.2.2 and a GENERIC kernel. The commands mount -t msdos /dev/da1 /mnt mount -t msdos /dev/da1s1 /mnt mount -t msdos /dev/da1s1a /mnt all return Device not configured Using the command mount_msdos gives the same result. Am I doing something wrong or is there a problem? Thanks
Re: mount usb drive
On Tue, 04 Aug 2009 09:46:23 -0400 Jim Chapman jim.chap...@sympatico.ca wrote: I need to mount a usb flash drive. I am using DragonFly 2.2.2 and a GENERIC kernel. The commands mount -t msdos /dev/da1 /mnt mount -t msdos /dev/da1s1 /mnt mount -t msdos /dev/da1s1a /mnt all return Device not configured Are you sure it's showing up as /dev/da1 - what does dmesg (or /var/log/messages) say about it ? -- Steve O'Hara-Smith | Directable Mirror Arrays C:WIN | A better way to focus the sun The computer obeys and wins.|licences available see You lose and Bill collects. |http://www.sohara.org/
some questions on new gcc
I see a newer version of gcc has been committed, but I'm not sure how to use it in place of the older version. After a buildworld/buildkernel/installkernel/installworld process I find gcc --version still says 4.1.2) I was also wondering if it is possible and how to build gcc 4.4 with gfortran? Thanks in advance for your assistance. - Ed
Re: mount usb drive
Steve O'Hara-Smith wrote: On Tue, 04 Aug 2009 09:46:23 -0400 Jim Chapman jim.chap...@sympatico.ca wrote: I need to mount a usb flash drive. I am using DragonFly 2.2.2 and a GENERIC kernel. The commands mount -t msdos /dev/da1 /mnt mount -t msdos /dev/da1s1 /mnt mount -t msdos /dev/da1s1a /mnt all return Device not configured Are you sure it's showing up as /dev/da1 - what does dmesg (or /var/log/messages) say about it ? Recent master probes removable usb devices on da8 and higher. This might change again with the committed devfs. cheers simon -- 3 the future +++ RENT this banner advert +++ ASCII Ribbon /\ rock the past +++ space for low CHF NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Re: some questions on new gcc
Ed Berger wrote: I see a newer version of gcc has been committed, but I'm not sure how to use it in place of the older version. After a buildworld/buildkernel/installkernel/installworld process I find gcc --version still says 4.1.2) You will have to set the environment variable CCVER to gcc44 to get gcc 4.4, i.e. env CCVER=gcc44 cc --version I was also wondering if it is possible and how to build gcc 4.4 with gfortran? We don't support fortran in base anymore, but I think pkgsrc-wip has gcc-4.4, which might build gfortran. cheers simon -- 3 the future +++ RENT this banner advert +++ ASCII Ribbon /\ rock the past +++ space for low CHF NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Re: mount usb drive
Jim Chapman wrote: I need to mount a usb flash drive. I am using DragonFly 2.2.2 and a GENERIC kernel. The commands mount -t msdos /dev/da1 /mnt mount -t msdos /dev/da1s1 /mnt mount -t msdos /dev/da1s1a /mnt all return Device not configured Using the command mount_msdos gives the same result. Am I doing something wrong or is there a problem? Thanks I was able to borrow a Windows machine and found none of the drives had a FAT32 filesystem on them. When I formatted a drive and returned home I was able to mount it as /dev/da1. My apologies.
Re: HEADS UP - DEVFS ON MASTER
Just a short *WARNING*: do *NOT* activate the loading of any sound modules in loader.conf: it'll cause a panic, probably due to a bug in the kernel linker. Cheers, Alex Hornung 2009/8/4 Matthew Dillon dil...@apollo.backplane.com: Alex's GSOC project, DEVFS is now on master and active. Some care must be taken when upgrading. * A full buildworld, buildkernel, installkernel, installworld sequence is needed. No changes to fstab are needed, /dev will be mounted from devfs automatically by the kernel. * If you run a new kernel with an old world (without devfs) you will not be able to login as root, but you will still be able to login as a user and su, and you should still be able to boot single-user. In otherwords, things will be messed up but in a fixable way, until both the world and the kernel are in sync. * A great deal of testing of basic functions has been done, but there is still a very good chance of breakage. Please test and report any issues. Very few GUI components have been tested, so if X or sound stops working it may be a day or two before we can get it whacked back into shape. * The master branch may be unstable for a week as wider testing is done. * PEOPLE RUNNING CHROOTS: Character and block devices in the filesystem NO LONGER WORK. If you have chrooted or jailed areas with their own /dev, you have to use mount_devfs in those areas. Many features are now working. We have auto-cloning support for numerous devices but only a few userland utilities have been adjusted to use it. To reduce issues DEVFS will pre-create a bunch of units for numerous devices so the non-cloning userland utilities still work. In addition, fully automatic slice and partition probing and reprobing is now operational. When you fdisk a drive the slices will pop up in /dev, and when you disklabel a slice the partitinos will pop up as well. MBR and disklabel edits will properly and automatically reprobe the drive. IMHO this is a very, very cool feature. The nrelease build still has a few issues. It will work and the intaller will come up, but the installer may have trouble seeing newly created partitions (a 'retry' usually solves the problem). This is a known issue and will be fixed. -Matt Matthew Dillon dil...@backplane.com
Re: HEADS UP - DEVFS ON MASTER
:Just a short *WARNING*: : :do *NOT* activate the loading of any sound modules in loader.conf: :it'll cause a panic, probably due to a bug in the kernel linker. : :Cheers, :Alex Hornung This problem should now be fixed. Also /dev/pci0 was changed back to /dev/pci fixing an issue X had with devfs. -Matt