I've noticed that once I right click on my flash drive icon and umount it, in order to remount it I have to unplug it and then plug it back in. Is there a command that will accomplish the same task without the unplug and plug back in physics? Thanks. mhr
Yes. mount diskid where diskid is your disk device id, e.g. /dev/sdg1 You can find out what it is by running mount while the disk is mounted, or by checking /var/log/messages, to see what disk ID was assigned to it when the device was first plugged in. You might need to specify a mount-point (where the device should be mounted), e.g. : mount /dev/sdg1 /media/flashdrive Hope this helps, Aleksey On 7/31/08, MHR <mhullrich at gmail.com> wrote:> I've noticed that once I right click on my flash drive icon and umount > it, in order to remount it I have to unplug it and then plug it back > in. > > Is there a command that will accomplish the same task without the > unplug and plug back in physics? > > Thanks. > > mhr > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
MHR wrote:> I've noticed that once I right click on my flash drive icon and umount > it, in order to remount it I have to unplug it and then plug it back > in. > > Is there a command that will accomplish the same task without the > unplug and plug back in physics?Yes. You should use $ gnome-mount -p YOUR_FLASH_DISK_LABEL where YOUR_FLASH_DISK_LABEL is the label you see when your system mounts a drive automatically. The same way you can use gnome-umount and gnome-eject (for CD/DVD probably) commands, though noone is recomended for end-user usage. Sergey.
Maybe Matching Threads
- Trouble (?) reformatting flash drive to include former U3 partition
- Installing OS on Flash Drive on Server
- Can't umount flash drive because an application has it locked
- Problem copying files to flash drive
- Problem booting from CF/SD cards and USB Flashdrives using syslinux