What is the right way to mount and umount a usb driver?

 
Thread Tools Search this Thread
Operating Systems Linux Fedora What is the right way to mount and umount a usb driver?
# 8  
Old 09-15-2011
If a partition stops being writable, it's probably having disk errors of some sort. You may see relevant error messages with dmesg | less

The sdb/sdb1 difference isn't from different kinds of drives, it's because of their contents. Some flash-drives come formatted like old-fashioned floppies -- no partition table. These just show up as /dev/sdb. Others come formatted with a partition table, like hard drives usually do, and show up as /dev/sdb + /dev/sdb1. /dev/sdb is the raw disk, /dev/sdb1 is the first partition.

It's possible to have more than one partition on a flash drive, just like any other block device can, but Windows doesn't support this very well.
# 9  
Old 09-16-2011
Thank you, guru Corona688.
# 10  
Old 09-21-2011
BTW, My fedora 15 on GNOME3 have a right-click menu "remove device safely", after I click it, the LED of the usb drive is off. How to let the LED off after I umount the usb drive in console?
# 11  
Old 09-21-2011
Again, the behavior of the light is hardware and OS dependent. Not even all versions of Windows turn the light off for all models of USB drives. Once umount has successfully finished it's safe to remove the drive, period.

On some drives, using eject instead of umount will turn the light off. Again, this isn't universal.
# 12  
Old 09-22-2011
But I am using the same OS and the same hardware. What is diffrent is the console and GNOME. I am wondering what GNOME done to let the LED off? Not eject, it dosen't turn off the LED on my OS.
# 13  
Old 09-22-2011
Quote:
Originally Posted by vistastar
But I am using the same OS and the same hardware. What is diffrent is the console and GNOME.
Other people have reported the opposite experience as you: eject turning the LED off and gnome not turning the LED off.

It's hardware and OS dependent.

---------- Post updated at 10:00 AM ---------- Previous update was at 09:53 AM ----------

You are running eject as root, yes?
# 14  
Old 09-24-2011
Quote:
You are running eject as root, yes?
yes.

Then what?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Test cases for file system mount/umount performance in HP

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

2. Solaris

Usb driver update on Sun T5440

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

3. UNIX for Dummies Questions & Answers

Simple way to umount NFS mount in linux

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

4. Hardware

How to install a driver of my USB-A to Serial Cable

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

5. Cybersecurity

Remove need for sudo for mount/umount

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

6. Solaris

mount & umount in sigle-user mode

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

7. Linux

How to mount/umount disk from a non-root account

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

8. Solaris

How to mount USB driver in solaris 8?

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

9. UNIX for Dummies Questions & Answers

solaris 8 admin I text ambiguities on mount and umount

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

10. UNIX for Dummies Questions & Answers

Writing a script to mount and umount a drive in Linux

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
Login or Register to Ask a Question