[opensuse] Command-line automatic remounting of USB hard-drives
Using openSUSE 10.3 I have several USB thumbdrives and hard-drives which mount automatically at boot time or when I plug them in. This works just fine. The drives get assigned mount points in /media without any special fstab entries required. What I'd like to do is to be able to remount the drives without physically unplugging and replugging them. Obviously I can hand-mount them to another mount point in /media, but I'm looking for that same automatic assigning of mount points. Is there a command-line equivalent which allows me to achieve the same mounting effect as physically removing and then replugging the USB drives? Thanks in advance, --ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2008-04-12 at 12:59 -0400, Ted Markowitz wrote:
Using openSUSE 10.3 I have several USB thumbdrives and hard-drives which mount automatically at boot time or when I plug them in. This works just fine. The drives get assigned mount points in /media without any special fstab entries required. What I'd like to do is to be able to remount the drives without physically unplugging and replugging them. Obviously I can hand-mount them to another mount point in /media, but I'm looking for that same automatic assigning of mount points. Is there a command-line equivalent which allows me to achieve the same mounting effect as physically removing and then replugging the USB drives?
You could issue the command "mount", to see how they were mounted, then mount them with the equivalent mount command; but without a corresponding fstab line you will be denied unless you are root. If there is an icon in the desktop you could try right-click to see if one of the options is "umount". If it suceeds, the icon context menu should now read "mount". - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIAQBvtTMYHG2NR9URAt3kAJwPCvZHss0ztdolSmrqevl7jnworQCcCEWk Dnt8q22LGC7qq/nBQVEKCio= =OJTD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ted Markowitz <tjm@cognosys.net> writes:
Obviously I can hand-mount them to another mount point in /media, but I'm looking for that same automatic assigning of mount points. Is there a command-line equivalent which allows me to achieve the same mounting effect as physically removing and then replugging the USB drives?
,---- | man halmount `---- Charles
Thanks, Charles. Didn't see the command before because it's only available if ivman is installed, which it wasn't, until now. Cheers, --ted Charles philip Chan said the following on 04/12/2008 03:24 PM:
Ted Markowitz <tjm@cognosys.net> writes:
Obviously I can hand-mount them to another mount point in /media, but I'm looking for that same automatic assigning of mount points. Is there a command-line equivalent which allows me to achieve the same mounting effect as physically removing and then replugging the USB drives?
,---- | man halmount `----
Charles
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ted Markowitz wrote:
Using openSUSE 10.3 I have several USB thumbdrives and hard-drives which mount automatically at boot time or when I plug them in. This works just fine. The drives get assigned mount points in /media without any special fstab entries required. What I'd like to do is to be able to remount the drives without physically unplugging and replugging them. Obviously I can hand-mount them to another mount point in /media, but I'm looking for that same automatic assigning of mount points. Is there a
Use volume labels on each partition, then everything will be mounted in /mount at a mount point derived from your label.
command-line equivalent which allows me to achieve the same mounting effect as physically removing and then replugging the USB drives?
Thanks in advance,
--ted
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
Charles philip Chan
-
Sam Clemens
-
Ted Markowitz