LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-16-2011, 12:49 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,686

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Need directories in /media?


I have xfce set up here, and I'm wondering if I need the stuff in /media at all.
Code:
bash-4.1$ ls -F /media
README cdrecorder0/ cdrom@ cdrom1/ disk-1/ dvd0/ floppy@ floppy1/  hd0/ memory@ memory1/ zip0/
cdrecorder@ cdrecorder1/ cdrom0/ disk/ dvd@ dvd1/ floppy0/ hd@ hd1/ memory0/ zip@  zip1/
All the links and subdirs are confusing and getting in the way. A new directory is _made_ every time something is mounted. It would be easier to be able to check in /media to see what's mounted, but /media is so full of stuff there's no point. I have no zips, dvd writer is internal, so I don't see the point. But I don't want to take out a pin that's holding something together.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-16-2011, 01:08 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.2 64-bit
Posts: 388

Rep: Reputation: 102Reputation: 102
From the README file in the /media directory:

The purpose of the /media directory is to provide a consistent place
across different systems for users and applications to mount
removeable media. For example, this might be used by KDE's
Media Manager feature in Konqueror. That will look into /etc/fstab
to determine where to mount a volume, and for now this still defaults
to using /mnt (e.g. /mnt/cdrom as the cdrom mount point), but you
may edit your /etc/fstab if you'd like to follow the FHS
recommendations.

See the /mnt directory also.
 
0 members found this post helpful.
Old 07-16-2011, 03:05 PM   #3
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
You dont, especially if you are using thunar as a file manager. The only time these are needed if you are using directly the mount command from a terminal. Those aren't even needed if you're using pmount.
Same for /mnt. I remove all entries after installing aaa_base.
 
2 members found this post helpful.
Old 07-17-2011, 04:22 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,686

Original Poster
Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Quote:
Originally Posted by sahko View Post
You dont, especially if you are using thunar as a file manager. The only time these are needed if you are using directly the mount command from a terminal. Those aren't even needed if you're using pmount.
Same for /mnt. I remove all entries after installing aaa_base.
Thx. I'm a creature of habit, and mount odd stuff in /mnt. I was just checking in case some system thing relied on them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysterious "usb" directories in /media dir - USB devices Don't Mount Like Before gentisle Linux Mint 3 04-10-2011 11:37 AM
What manages the files/directories in "/media" bgoodr Debian 2 09-07-2008 11:44 PM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 04:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 01:23 PM
Nautilus hangs in large media directories Maestro485 Fedora 4 11-14-2004 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration