09-14-2011
Quote:
Originally Posted by
vistastar
Odd... I don't know why it's mounting it as read-only.
It's entirely possible that you just don't have permissions to access it, though. FAT32 has no owners or groups, so it just assumes root. Try
mount -o uid=myuid,rw -t vfat /dev/whatever /path/to/dir where 'myuid' is your user id like in /etc/passwd.
Quote:
Is it necessary use 'sync' command before umount?
Nope, umount
sync's by itself. umount by itself leaves a drive in a state that's safe to shut down or remove or what have you.
Quote:
Is it necessary use 'eject' command after umount?
Nope.
eject just an extended
umount that ejects the tray when it's done syncing and unmounting -- which only makes sense for things that
have a tray, like cdrom drives.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a 1 GB jazz drive. The jazz disk is used daily, both at home and at work on my Win 98 Server. So, I have to keep it in vfat format, which is fine because Linux rocks and will read it no problem. :-) However, I can't just stick the disk in the drive and open up the jazz folder in my mnt... (2 Replies)
Discussion started by: wizkid
2 Replies
2. UNIX for Dummies Questions & Answers
i'm prepping for my midterm, which i will bomb. i am scurrying to finish reading the final chapter before i get down into the review.
however, i came across something in chapter 8 - "mounting file systems" that has me really confused.
the text says the following:
then it goes on to... (2 Replies)
Discussion started by: xyyz
2 Replies
3. Solaris
Can anyone tell me how to mount the USB driver in solaris 8?
I try many time that can't to mount USB driver. It can detect the USB driver by typing #iostat -En but can't mount the driver. (1 Reply)
Discussion started by: kingsan
1 Replies
4. Linux
Is it possible to mount a disk from a non-root account?
I'm developing a Java application which executes commands in the shell using the java.lang.Runtime.exec api, which runs fine for commands ls, df, etc., but for commands mount and umount, i have problems as I need to be root to eecute these.... (8 Replies)
Discussion started by: brendan76
8 Replies
5. Solaris
In Solaris 8, when I boot to single user mode, mount a device and then reboot or init 0, the system unmount it automatically. However, in Solaris 10 it does not seem to do the same. Here is what I did:
{0} ok boot -s
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0.... (11 Replies)
Discussion started by: StarSol
11 Replies
6. Cybersecurity
Hello,
I'm trying to remove the need to use sudo to mount (in particular, binding).
Modifying /etc/sudoers using visudo, I have tried:
%admin ALL=NOPASSWD: /usr/bin/mount
%admin ALL=NOPASSWD: /usr/bin/umountand
%admin ALL=(ALL) NOPASSWD: /usr/bin/mount
%admin ALL=(ALL) NOPASSWD:... (5 Replies)
Discussion started by: Narnie
5 Replies
7. Hardware
Hi Gurus of Unix
Recently I install a OpenSolaris in My HP 530
In this moment want to install a USB-A to Serial Cable. Any guru can send a Link where I can use how reference.
I want to configure a Router and my PC don't have any serial Port.
My LapTOP only has USB ports. In this case I buy a... (2 Replies)
Discussion started by: andresguillen
2 Replies
8. UNIX for Dummies Questions & Answers
Hello...
I've mounted a share using standard nomenclature for the NFS mount command with the following command line:
mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw)
mnt_for_70 is a mount point I created on {IP address2}
I'm confuse and want to be sure I use the... (1 Reply)
Discussion started by: blaine.miller
1 Replies
9. Solaris
I need a help to find the patch for solaris to fix USB drivers issue on Solaris 10. The server has a PCIE card which is not recognised by the OS. I run #fmadm faulty command which report issue and recommandation to apply the new patch. I got a reference to //sun.com/msg/PCIEX-8000-6D but... (0 Replies)
Discussion started by: espengongo
0 Replies
10. HP-UX
Hi Folks,
Could anyone please assist me with the what could be the scenarios to test the file system mount/umount performance check in HPUX.
Thanks in advance,
Vaishey (5 Replies)
Discussion started by: Vaishey
5 Replies
LEARN ABOUT CENTOS
usb-devices
usb-devices(1) Linux USB Utilities usb-devices(1)
NAME
usb-devices - print USB device details
SYNOPSIS
usb-devices
DESCRIPTION
usb-devices is a (bash) shell script that can be used to display details of USB buses in the system and the devices connected to them.
The output of the script is similar to the usb/devices file available either under /proc/bus (if usbfs is mounted), or under /sys/ker-
nel/debug (if debugfs is mounted there). The script is primarily intended to be used if the file is not available.
In contrast to the usb/devices file, this script only lists active interfaces (those marked with a "*" in the usb/devices file) and their
endpoints.
Be advised that there can be differences in the way information is sorted, as well as in the format of the output.
RETURN VALUE
If sysfs is not mounted, a non-zero exit code is returned.
FILES
/sys/bus/usb/devices/usb*
The part of the sysfs tree the script walks through to assemble the printed information.
/proc/bus/usb/devices
Location where the usb/devices file can normally be found for Linux kernels before 2.6.31, if usbfs is mounted.
/sys/kernel/debug/usb/devices
Location where the usb/devices file can normally be found for Linux kernel 2.6.31 and later, if debugfs is mounted.
SEE ALSO
lsusb(8), usbview(8).
AUTHORS
Greg Kroah-Hartman <greg@kroah.com>
Randy Dunlap <rdunlap@xenotime.net>
Frans Pop <elendil@planet.nl>
usbutils-007 23 June 2009 usb-devices(1)