SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just upgraded from 10.2 to 11.0 and I've noticed that I've gained an extra folder in /, namely /media. The way my system was set up in 10.2 means that all my mount points are in /mnt, and not /media. The upgrade hasn't changed this, so I'm wondering if it's ok to remove the /media folder as I like a lean, mean slackware machine?
Well, no, probably not. The only thing that annoys me about it slightly is that when I type "mount /mnt/usb", if I only have mnt in /, then I can autocomplete mnt having only typed the m, rather than having to type mount /mn, and then autocompleting. These things bug me
Ah yes, that would bug me too. I'm sure that you can tell zsh to ignore /media because my impression is that you can get the autocomplete to do anything from what I've heard. Not sure if you can do the same thing with bash.
So yeah, it does make a difference beyond the space on disk.
It bugs me too. I once expiermented with using a sed filter in my hal build script to replace /media with /mnt in the actuall source code. Good idea but I don't think it worked. I don't use hal anyway. I think you can safely delete it. Not only does the autocompletiion thing annoy me but I just don't like having 2 mount points there as well.
...I just don't like having 2 mount points there as well.
Neither do I.
What's with that folder anyway? I mean, if I'm already used to mount and umount everything fine through desktop links and proper fstab permissions, that /media folder is practically useless to me and, I dare to believe, to most slackers.
Ah yes, that would bug me too. I'm sure that you can tell zsh to ignore /media because my impression is that you can get the autocomplete to do anything from what I've heard. Not sure if you can do the same thing with bash.
I use zsh anyway, so I'll have a look into that (for other things since I'm going to get rid of /media). Glad I'm not the only one that thinks like this!
I don't know slack, but here's what I know about /media (Mandriva uses /mnt too):
- /media is the standard location for removable mount points according to the LSB.
- /media is the only place that pmount/pumount look at if you want to use them, and they're indeed very useful in concordance with the new HAL+DBUS.
The way I did was to:
- remove /media entirely,
- get the pmount source RPM (source .tgz in slack?), patch the source to replace all occurences of /media with /mnt, rebuild the binary RPM from that, and install this modified version.
Now I use /mnt only, and pmount/pumount are happy with that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.