LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 11:49 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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, 12:08 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
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, 02: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, 03:22 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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



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 10:37 AM
What manages the files/directories in "/media" bgoodr Debian 2 09-07-2008 10:44 PM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
Nautilus hangs in large media directories Maestro485 Fedora 4 11-14-2004 01:13 AM

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

All times are GMT -5. The time now is 10:22 AM.

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
Open Source Consulting | Domain Registration