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 SUSE
halmount
halmount(1) User Commands halmount(1)
NAME
halmount - mount and umount filesystems via hal
SYNOPSIS
halmount [OPTIONS]... <device|label> [mountpoint]
halmount -u [OPTIONS]... <device|label|mountpoint>
halmount -e [OPTIONS]... <device|label|mountpoint>
DESCRIPTION
halmount can mount and umount filesystems via hal. Hotpluggable devices and media such as USB sticks and CD-ROMs are typically not entered
into /etc/fstab and are therefore not mountable by normal users via the mount(8) command. Instead hal provides methods to mount and umount
such devices.
Additionally it's also possible to eject devices. For devices like USB sticks eject means the device cannot be mounted again until the
stick is re-plugged, ie a "save remove" feature.
OPTIONS
-t TYPE
specify the file system type to use
-o OPTIONS
specify mount options
-v verbose listing of devices
-u umount specified device
-e umount and eject specified device
-a perform requested mount/umount/eject operation all available devices
--listudi
list UDIs of devices, useful for debugging
EXAMPLES
halmount
list all mountable devices known to hal
halmount /dev/hdc
mount device hdc on default mount point (/media/volumelabel)
halmount /dev/hdc cdrom
mount device hdc on /media/cdrom
halmount -u "Holiday Pictures"
umount device that has the label "Holiday Pictures"
SEE ALSO
mount(8), umount(8), eject(1), fstab(5)
SUSE Linux November 2006 halmount(1)