[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to visit U disk?
- To: EdwardKing <zhangsc_(_at_)_neusoft_(_dot_)_com>
- Subject: Re: How to visit U disk?
- From: Polytropon <freebsd_(_at_)_edvax_(_dot_)_de>
- Date: Thu, 14 Aug 2008 16:47:45 +0200
- Cc: FreeBSD <freebsd-questions_(_at_)_freebsd_(_dot_)_org>
- Organization: EDVAX
- Reply-to: Polytropon <freebsd_(_at_)_edvax_(_dot_)_de>
On Thu, 14 Aug 2008 08:39:43 +0800, EdwardKing <zhangsc_(_at_)_neusoft_(_dot_)_com> wrote:
> Then I use dmesg:
> $dmesg | grep ^da
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0:<USB NAND FLASH DISK 0.20> Removable Direct Access SCSI-2 device
> da0:1.000MB/s transfers
> da0:125MB (256000 512 byte sectors: 64H 32S/T 125C)
Correct, this shows da0 is your USB disk. You just need to know
which partition to access.
# ls /dev/da0*
will show you which entries are present. As I mentioned before,
/dev/da0s1 or /dev/da0s1c should be the correct one.
You can check which partitions are on da0 with this command
that just does some reading (no modification):
# fdisk da0
Then you tried, as suggested:
> $mount -t msdosfs dev/da0s1c /mnt
> mount_msdosfs: /dev/da0s1c: Operation not permitted
Yes, of course. You're issuing this command from a user's shell,
not as root. But because of FreeBSD's security concepts, you need
to do the mount operation as root (that's why I prefixed the
mount command with a # sign), so use "su" or "sudo" (sudo needs
to be installed).
You can, of course, enable the user to have access to the USB
devices by modifying /etc/devfs.conf and setting vfs.usermount=1
> $mount -t msdosfs dev/da0 /mnt
> mount_msdosfs: /dev/da0: Operation not permitted
Same reason here. You need to be root to do this. And don't
complain, it's completely intended to be this way. :-)
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org