On Monday 16 July 2007 19:51, Mikkel L. Ellertson wrote:
vvmarko(a)panet.co.yu wrote:
> Under FC4 I would plug in the USB flash drive, and see in
> /var/log/messages that it is autodetected as /dev/sd*, and then the mount
> point /media/whatever being created and assigned to it. After that, I
> would just type
>
> $ mount /media/whatever
>
> (as an ordinary user, not root) to have the device mounted, if I wish.
> That was the default behavior in FC4, but not in FC6 or F7. Now I have to
> mkdir a mount point, su to root, then mount -t vfat /dev/sda /somewhere,
> chown the files to my username, and then use the device. Possible, but
> painful --- I got used to all that being automatic... :-(
>
> So, how do I get that behavior back? I want it to work for all devices I
> might plug in, including USB flash drives, CDs, DVDs, external HDs, etc.
If you are logged into X, it should mount it as well, unless you
have auto-mounting turned off. From the command line, you can use
gnome-mount. (gnome-mount -d /dev/sda1) There are several ways to
tell gnome-mount what you want to mount. By default, it will create
the mount point in /media for you. You run gnome-mount as a normal user.
Thanks for the reply, but no, no X on the machine. I'm in runlevel 3, X is
started only when I really must use it, and even then it's just WindowMaker,
not Gnome nor KDE.
I believe I cannot use gnome-mount if Gnome is not running. And the
functionality I miss here should work irrespective of desktop environment, I
believe.
Best, :-)
Marko
Marko Vojinovic
Institute of Physics
University of Belgrade
======================
e-mail: vmarko(a)phy.bg.ac.yu